We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e7d9f commit dfee774Copy full SHA for dfee774
UI/Program.cs
@@ -81,6 +81,11 @@ public static int Main(string[] args)
81
Program.CommandLineArgs = (string[])args.Clone();
82
BuildAvaloniaApp().StartWithClassicDesktopLifetime(args, ShutdownMode.OnMainWindowClose);
83
EmuApi.Release();
84
+
85
+ //Cleanup portable installation
86
+ if(ConfigManager.HomeFolder == ConfigManager.DefaultPortableFolder && Directory.Exists(ConfigManager.DefaultDocumentsFolder)) {
87
+ Directory.Delete(ConfigManager.DefaultDocumentsFolder, true);
88
+ }
89
}
90
91
return 0;
0 commit comments