mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-14 00:15:01 +03:00
Improve tun mode
This commit is contained in:
@@ -206,7 +206,7 @@ namespace v2rayN.Base
|
|||||||
StartInfo = new ProcessStartInfo
|
StartInfo = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = fileName,
|
FileName = fileName,
|
||||||
Arguments = $"run -c {Utils.GetConfigPath(_tunConfigName)}",
|
Arguments = $"run -c \"{Utils.GetConfigPath(_tunConfigName)}\"",
|
||||||
WorkingDirectory = Utils.GetConfigPath(),
|
WorkingDirectory = Utils.GetConfigPath(),
|
||||||
UseShellExecute = showWindow,
|
UseShellExecute = showWindow,
|
||||||
CreateNoWindow = !showWindow,
|
CreateNoWindow = !showWindow,
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ namespace v2rayN.Handler
|
|||||||
StartInfo = new ProcessStartInfo
|
StartInfo = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = "v2rayUpgrade.exe",
|
FileName = "v2rayUpgrade.exe",
|
||||||
Arguments = "\"" + fileName + "\"",
|
Arguments = $"\"{fileName}\"",
|
||||||
WorkingDirectory = Utils.StartupPath()
|
WorkingDirectory = Utils.StartupPath()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user