add publish
This commit is contained in:
1 parent
4a4289c75e
commit
3842d84c6f
5 files changed
+14
-3
No files matched your search
@@ -5,7 +5,6 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<PublishAot>true</PublishAot>
|
|
||||||
<InvariantGlobalization>true</InvariantGlobalization>
|
<InvariantGlobalization>true</InvariantGlobalization>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_LastSelectedProfileId>D:\CS\ExportAssistantLog\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
<_LastSelectedProfileId>D:\CS\ExportAssiatantLog\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
File renamed without changes.
+12
@@ -14,6 +14,18 @@ namespace ExportAssistantLog
|
|||||||
var localAppDataPath = Environment.GetEnvironmentVariable("LOCALAPPDATA");
|
var localAppDataPath = Environment.GetEnvironmentVariable("LOCALAPPDATA");
|
||||||
var dbPath = Path.Combine(localAppDataPath, "ShadowBot", "users", "Assistant", "assistant.db3");
|
var dbPath = Path.Combine(localAppDataPath, "ShadowBot", "users", "Assistant", "assistant.db3");
|
||||||
|
|
||||||
|
if (Path.Exists(dbPath))
|
||||||
|
{
|
||||||
|
Console.WriteLine(dbPath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Console.WriteLine("Assistant database not found.");
|
||||||
|
Console.ReadLine();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var downloadPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads");
|
var downloadPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Downloads");
|
||||||
|
|
||||||
var dateString = DateTime.UtcNow.ToString("yyyy-MM-dd");
|
var dateString = DateTime.UtcNow.ToString("yyyy-MM-dd");
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
-->
|
-->
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<History>False|2023-09-04T16:57:21.6374168Z;False|2023-09-05T00:54:21.0789671+08:00;False|2023-09-05T00:54:02.1221891+08:00;</History>
|
<History>True|2023-09-05T00:21:14.7925312Z;True|2023-09-05T08:16:50.9267952+08:00;True|2023-09-05T08:15:22.6055510+08:00;False|2023-09-05T08:15:00.9244327+08:00;True|2023-09-05T08:12:27.2966524+08:00;True|2023-09-05T08:10:57.2615975+08:00;False|2023-09-05T08:07:53.6637265+08:00;False|2023-09-05T08:07:45.2808930+08:00;</History>
|
||||||
<LastFailureDetails />
|
<LastFailureDetails />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
Reference in new issue
Block a user