Add system proxy for Linux

This commit is contained in:
2dust
2024-09-28 10:41:30 +08:00
parent fde2a768cf
commit 1411643192
9 changed files with 169 additions and 35 deletions
@@ -295,7 +295,14 @@ namespace ServiceLib.ViewModels
});
OpenTheFileLocationCmd = ReactiveCommand.Create(() =>
{
Utils.ProcessStart("Explorer", $"/select,{Utils.GetConfigPath()}");
if (Utils.IsWindows())
{
Utils.ProcessStart("Explorer", $"/select,{Utils.GetConfigPath()}");
}
else if (Utils.IsLinux())
{
Utils.ProcessStart("nautilus", Utils.GetConfigPath());
}
});
ReloadCmd = ReactiveCommand.Create(() =>