diff --git a/v2rayN/ServiceLib/Manager/CoreManager.cs b/v2rayN/ServiceLib/Manager/CoreManager.cs index 79dbdeb0..53240960 100644 --- a/v2rayN/ServiceLib/Manager/CoreManager.cs +++ b/v2rayN/ServiceLib/Manager/CoreManager.cs @@ -226,7 +226,7 @@ public class CoreManager { if (mayNeedSudo && _config.TunModeItem.EnableTun - && coreInfo.CoreType == ECoreType.sing_box + && (coreInfo.CoreType is ECoreType.sing_box or ECoreType.mihomo) && Utils.IsNonWindows()) { _linuxSudo = true;