删除客户端的bug

This commit is contained in:
snltty
2023-11-14 17:30:12 +08:00
parent fd191cc50f
commit 3e1d9aa9d4
26 changed files with 171 additions and 233 deletions

View File

@@ -49,13 +49,13 @@ namespace cmonitor
//读取参数
Dictionary<string, string> dic = ArgumentParser.Parse(args, out string error);
//#if RELEASE
#if RELEASE
//提权
if (dic.ContainsKey("elevated") == false)
{
Win32Interop.RelaunchElevated();
}
//#endif
#endif
//初始化配置文件
Config config = new Config();
InitConfig(config, dic);