mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-14 19:45:45 +00:00
Run cores as "v2rayn-core" user
This commit is contained in:
parent
17847c5591
commit
953e7825d4
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ public class CoreManager
|
|||
var coreInfo = CoreInfoManager.Instance.GetCoreInfo(coreType);
|
||||
|
||||
var displayLog = node.ConfigType != EConfigType.Custom || node.DisplayLog;
|
||||
var proc = await RunProcess(coreInfo, Global.CoreConfigFileName, displayLog, true, 0);
|
||||
var proc = await RunProcess(coreInfo, Global.CoreConfigFileName, displayLog, true, 785);
|
||||
if (proc is null)
|
||||
{
|
||||
return;
|
||||
|
|
@ -197,7 +197,7 @@ public class CoreManager
|
|||
if (result.Success)
|
||||
{
|
||||
var coreInfo = CoreInfoManager.Instance.GetCoreInfo(preCoreType);
|
||||
var proc = await RunProcess(coreInfo, Global.CorePreConfigFileName, true, true, 0);
|
||||
var proc = await RunProcess(coreInfo, Global.CorePreConfigFileName, true, true, 785);
|
||||
if (proc is null)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue