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 bb701a5 commit 535af4fCopy full SHA for 535af4f
MainGui.cs
@@ -1649,6 +1649,9 @@ private async void StartSubsCheckProcess()
1649
// 获取当前应用程序目录
1650
string executablePath = Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
1651
string subsCheckPath = Path.Combine(executablePath, "subs-check.exe");
1652
+ // 设置一个环境变量以表明是有GUI启动的
1653
+
1654
+ Environment.SetEnvironmentVariable("START_FROM_GUI", "true");
1655
1656
// 检查是否有其他subs-check.exe进程正在运行,并强制结束它们
1657
try
0 commit comments