Improve tun mode

pull/2962/head
2dust 2 years ago
parent 52debcdcb3
commit 8cbf6bfffa

@ -206,7 +206,7 @@ namespace v2rayN.Base
StartInfo = new ProcessStartInfo
{
FileName = fileName,
Arguments = $"run -c {Utils.GetConfigPath(_tunConfigName)}",
Arguments = $"run -c \"{Utils.GetConfigPath(_tunConfigName)}\"",
WorkingDirectory = Utils.GetConfigPath(),
UseShellExecute = showWindow,
CreateNoWindow = !showWindow,

@ -55,7 +55,7 @@ namespace v2rayN.Handler
StartInfo = new ProcessStartInfo
{
FileName = "v2rayUpgrade.exe",
Arguments = "\"" + fileName + "\"",
Arguments = $"\"{fileName}\"",
WorkingDirectory = Utils.StartupPath()
}
};

Loading…
Cancel
Save