1.1.3 更新

This commit is contained in:
Space Time 2024-10-21 14:12:48 +08:00
parent b78c982621
commit 27826633a1

View File

@ -159,7 +159,7 @@ public partial class MainWin : Window
await Task.Run(() => await Task.Run(() =>
{ {
new BrowserProc(MainPres.BrowserPath, sender == null).ShellRun(Path.GetDirectoryName(MainPres.BrowserPath), ($"{CealArgs} {MainPres.ExtraArgs}").Trim()); new BrowserProc(MainPres.BrowserPath, sender == null).ShellRun(Path.GetDirectoryName(MainPres.BrowserPath), ($"{CealArgs} {MainPres.ExtraArgs.Trim()}"));
}); });
} }
private void NginxButton_Click(object sender, RoutedEventArgs e) private void NginxButton_Click(object sender, RoutedEventArgs e)
@ -245,7 +245,7 @@ public partial class MainWin : Window
await Task.Run(() => await Task.Run(() =>
{ {
new NginxProc().ShellRun(Path.GetDirectoryName(MainConst.NginxPath), @$"-c ""{MainConst.NginxConfPath}"""); new NginxProc().ShellRun(Path.GetDirectoryName(MainConst.NginxPath), @$"-c ""{Path.GetRelativePath(Path.GetDirectoryName(MainConst.NginxPath)!, MainConst.NginxConfPath)}""");
}); });
while (true) while (true)