|
|
@@ -20,7 +20,6 @@ namespace ClashN
|
|
|
if (!bCreatedNew)
|
|
|
{
|
|
|
ProgramStarted.Set();
|
|
|
- App.Current.Shutdown();
|
|
|
Environment.Exit(-1);
|
|
|
return;
|
|
|
}
|
|
|
@@ -65,7 +64,6 @@ namespace ClashN
|
|
|
if (ConfigProc.LoadConfig(ref _config) != 0)
|
|
|
{
|
|
|
UI.ShowWarning($"Loading GUI configuration file is abnormal,please restart the application{Environment.NewLine}加载GUI配置文件异常,请重启应用");
|
|
|
- Application.Current.Shutdown();
|
|
|
Environment.Exit(0);
|
|
|
return;
|
|
|
}
|