mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-08 12:46:56 -05:00
Restart program on settings reset
This commit is contained in:
@@ -108,6 +108,7 @@ private static void DeleteSettings()
|
||||
var path = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal).FilePath;
|
||||
if (File.Exists(path))
|
||||
File.Delete(path);
|
||||
System.Diagnostics.Process.Start(Application.ExecutablePath);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user