Fix environment exit

This commit is contained in:
Jack251970 2025-04-03 21:53:09 +08:00
parent 3b43d457d9
commit 5d16216a55

View file

@ -169,7 +169,7 @@ namespace Flow.Launcher.Core.Configuration
{
FilesFolders.OpenPath(Constant.RootDirectory, (s) => API.ShowMsgBox(s));
Environment.Exit(0);
Application.Current.Shutdown();
}
}
// Otherwise, if the portable data folder is marked for deletion,