Skip to content

Commit

Permalink
remove msix package
Browse files Browse the repository at this point in the history
This reverts commit 4557ef4.

Revert "optimize game uninstall"

This reverts commit e22be8f.

Revert "New translations lang.resx (Japanese) (#416)"

This reverts commit 447ca6e.

Revert "use PowerShell to clear registry and delete temp files"

This reverts commit 86dd628.

Revert "change location of temp files when msix packaged"

This reverts commit 7032bb5.

Revert "remove capability unvirtualizedResources"

This reverts commit 84ae33b.

Revert "optimize repairing game"

This reverts commit 5d97801.

Revert "enable trim when publish"

This reverts commit 40ada4d.

Revert "New Crowdin updates (#412)"

This reverts commit fcfc7f2.

Revert "update csproj"

This reverts commit 36e90bf.

Revert "adapt to msix package"

This reverts commit 64bb200.

Revert "enable msix package"

This reverts commit 5b9c16b.

New Crowdin updates (#412)

* New translations lang.resx (Japanese)

* New translations corelang.resx (Japanese)

* New translations lang.resx (Korean)

optimize repairing game

New translations lang.resx (Japanese) (#416)

optimize game uninstall

update package reference
  • Loading branch information
Scighost committed Oct 9, 2023
1 parent 4557ef4 commit e8d0713
Show file tree
Hide file tree
Showing 20 changed files with 173 additions and 599 deletions.
124 changes: 18 additions & 106 deletions Starward.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,24 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Starward.Core", "src\Starward.Core\Starward.Core.csproj", "{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Starward", "src\Starward\Starward.csproj", "{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Starward.Launcher", "src\Starward.Launcher\Starward.Launcher.vcxproj", "{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Starward.Language", "src\Starward.Language\Starward.Language.csproj", "{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Starward", "src\Starward\Starward.csproj", "{220135C7-EED3-4847-9927-55E809797EF8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug_Package|Any CPU = Debug_Package|Any CPU
Debug_Package|ARM64 = Debug_Package|ARM64
Debug_Package|x64 = Debug_Package|x64
Debug_Package|x86 = Debug_Package|x86
Debug|Any CPU = Debug|Any CPU
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release_Package|Any CPU = Release_Package|Any CPU
Release_Package|ARM64 = Release_Package|ARM64
Release_Package|x64 = Release_Package|x64
Release_Package|x86 = Release_Package|x86
Release|Any CPU = Release|Any CPU
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|Any CPU.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|Any CPU.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|ARM64.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|ARM64.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|x64.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|x64.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|x86.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug_Package|x86.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|ARM64.ActiveCfg = Debug|Any CPU
Expand All @@ -52,14 +36,6 @@ Global
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|x64.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|x86.ActiveCfg = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Debug|x86.Build.0 = Debug|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|Any CPU.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|Any CPU.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|ARM64.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|ARM64.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|x64.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|x64.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|x86.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release_Package|x86.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|Any CPU.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|ARM64.ActiveCfg = Release|Any CPU
Expand All @@ -68,14 +44,22 @@ Global
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|x64.Build.0 = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|x86.ActiveCfg = Release|Any CPU
{E63D6151-9CB1-4E3F-B74F-F006FDF9AC38}.Release|x86.Build.0 = Release|Any CPU
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|Any CPU.ActiveCfg = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|Any CPU.Build.0 = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|ARM64.ActiveCfg = Debug|ARM64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|ARM64.Build.0 = Debug|ARM64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|x64.ActiveCfg = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|x64.Build.0 = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|x86.ActiveCfg = Debug|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug_Package|x86.Build.0 = Debug|Win32
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|Any CPU.ActiveCfg = Debug|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|Any CPU.Build.0 = Debug|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|ARM64.ActiveCfg = Debug|ARM64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|ARM64.Build.0 = Debug|ARM64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|x64.ActiveCfg = Debug|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|x64.Build.0 = Debug|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|x86.ActiveCfg = Debug|x86
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Debug|x86.Build.0 = Debug|x86
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|Any CPU.ActiveCfg = Release|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|Any CPU.Build.0 = Release|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|ARM64.ActiveCfg = Release|ARM64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|ARM64.Build.0 = Release|ARM64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|x64.ActiveCfg = Release|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|x64.Build.0 = Release|x64
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|x86.ActiveCfg = Release|x86
{CD1EC7A8-4DA1-4998-9B84-F948AA98CDE3}.Release|x86.Build.0 = Release|x86
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|Any CPU.ActiveCfg = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|Any CPU.Build.0 = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|ARM64.ActiveCfg = Debug|ARM64
Expand All @@ -84,14 +68,6 @@ Global
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|x64.Build.0 = Debug|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|x86.ActiveCfg = Debug|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Debug|x86.Build.0 = Debug|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|Any CPU.ActiveCfg = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|Any CPU.Build.0 = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|ARM64.ActiveCfg = Release|ARM64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|ARM64.Build.0 = Release|ARM64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|x64.ActiveCfg = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|x64.Build.0 = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|x86.ActiveCfg = Release|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release_Package|x86.Build.0 = Release|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|Any CPU.ActiveCfg = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|Any CPU.Build.0 = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|ARM64.ActiveCfg = Release|ARM64
Expand All @@ -100,14 +76,6 @@ Global
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|x64.Build.0 = Release|x64
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|x86.ActiveCfg = Release|Win32
{BC2FB0E5-F79E-4EA0-8380-73F96ECB6F2E}.Release|x86.Build.0 = Release|Win32
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|Any CPU.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|Any CPU.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|ARM64.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|ARM64.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|x64.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|x64.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|x86.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug_Package|x86.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|ARM64.ActiveCfg = Debug|Any CPU
Expand All @@ -116,14 +84,6 @@ Global
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|x64.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|x86.ActiveCfg = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Debug|x86.Build.0 = Debug|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|Any CPU.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|Any CPU.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|ARM64.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|ARM64.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|x64.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|x64.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|x86.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release_Package|x86.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|Any CPU.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|ARM64.ActiveCfg = Release|Any CPU
Expand All @@ -132,54 +92,6 @@ Global
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|x64.Build.0 = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|x86.ActiveCfg = Release|Any CPU
{5FC2380B-F424-4EAE-BDEE-C0D4D4B1C7CF}.Release|x86.Build.0 = Release|Any CPU
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|Any CPU.ActiveCfg = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|Any CPU.Build.0 = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|Any CPU.Deploy.0 = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|ARM64.ActiveCfg = Debug_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|ARM64.Build.0 = Debug_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|ARM64.Deploy.0 = Debug_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x64.ActiveCfg = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x64.Build.0 = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x64.Deploy.0 = Debug_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x86.ActiveCfg = Debug_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x86.Build.0 = Debug_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Debug_Package|x86.Deploy.0 = Debug_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|Any CPU.ActiveCfg = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|Any CPU.Build.0 = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|Any CPU.Deploy.0 = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|ARM64.ActiveCfg = Debug|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|ARM64.Build.0 = Debug|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|ARM64.Deploy.0 = Debug|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x64.ActiveCfg = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x64.Build.0 = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x64.Deploy.0 = Debug|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x86.ActiveCfg = Debug|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x86.Build.0 = Debug|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Debug|x86.Deploy.0 = Debug|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|Any CPU.ActiveCfg = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|Any CPU.Build.0 = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|Any CPU.Deploy.0 = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|ARM64.ActiveCfg = Release_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|ARM64.Build.0 = Release_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|ARM64.Deploy.0 = Release_Package|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x64.ActiveCfg = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x64.Build.0 = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x64.Deploy.0 = Release_Package|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x86.ActiveCfg = Release_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x86.Build.0 = Release_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release_Package|x86.Deploy.0 = Release_Package|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release|Any CPU.ActiveCfg = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|Any CPU.Build.0 = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|Any CPU.Deploy.0 = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|ARM64.ActiveCfg = Release|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|ARM64.Build.0 = Release|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|ARM64.Deploy.0 = Release|ARM64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x64.ActiveCfg = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x64.Build.0 = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x64.Deploy.0 = Release|x64
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x86.ActiveCfg = Release|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x86.Build.0 = Release|x86
{220135C7-EED3-4847-9927-55E809797EF8}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
11 changes: 1 addition & 10 deletions src/Starward/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using System.Globalization;
using System.IO;
using Vanara.PInvoke;
using Windows.Storage;

// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
Expand All @@ -36,15 +35,7 @@ public App()

private void App_UnhandledException(object sender, Microsoft.UI.Xaml.UnhandledExceptionEventArgs e)
{
string folder;
if (AppConfig.MsixPackaged)
{
folder = Path.Combine(ApplicationData.Current.LocalFolder.Path, "crash");
}
else
{
folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Starward", "crash");
}
var folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Starward", "crash");
Directory.CreateDirectory(folder);
var file = Path.Combine(folder, $"crash_{DateTime.Now:yyyyMMdd_HHmmss}.txt");
File.WriteAllText(file, e.Exception.ToString());
Expand Down
Loading

0 comments on commit e8d0713

Please sign in to comment.