We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9759bae commit 090816eCopy full SHA for 090816e
Main.cs
@@ -295,9 +295,18 @@ private void Main_Load(object sender, EventArgs e)
295
Process.Start(this.GetType().Assembly.Location); //重启程序防止窗体错位
296
Environment.Exit(0);
297
}
298
+ else if (File.Exists(appPath + "\\bin\\scrcpy.exe"))
299
+ {
300
+ Console.WriteLine("已取消下载多任务模式配置");
301
+ Process disableMulti = new Process();
302
+ disableMulti.StartInfo.FileName = appPath + "\\" + Path.GetFileName(Application.ExecutablePath);
303
+ disableMulti.StartInfo.Arguments = "--disableMulti";
304
+ disableMulti.Start();
305
+ Environment.Exit(1);
306
+ }
307
else
308
{
- Console.WriteLine("已取消下载,退出程序");
309
+ Console.WriteLine("已取消下载环境配置,退出程序");
310
Environment.Exit(1);
311
312
0 commit comments