Tun enable in macos when opening the app

This commit is contained in:
2dust 2024-11-26 16:33:19 +08:00
parent 89ce7c23c9
commit 504f8d09a6

View file

@ -439,8 +439,7 @@ namespace ServiceLib.ViewModels
}
else if (Utils.IsOSX())
{
//TODO
return false;
return _config.TunModeItem.LinuxSudoPwd.IsNotEmpty();
}
return false;
}