mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 12:35:46 +00:00
Always run cores with sudo, even when TUN is disabled
This commit is contained in:
parent
0cd19bf552
commit
e35f988502
1 changed files with 0 additions and 1 deletions
|
|
@ -299,7 +299,6 @@ public class CoreManager
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (mayNeedSudo
|
if (mayNeedSudo
|
||||||
&& _config.TunModeItem.EnableTun
|
|
||||||
&& (coreInfo.CoreType is ECoreType.sing_box or ECoreType.mihomo)
|
&& (coreInfo.CoreType is ECoreType.sing_box or ECoreType.mihomo)
|
||||||
&& Utils.IsNonWindows())
|
&& Utils.IsNonWindows())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue