mirror of https://github.com/2dust/v2rayN
Improve tun mode
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…
Reference in New Issue