mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-19 11:45:00 +03:00
Refactor Linux to run Tun as sudo
This commit is contained in:
@@ -454,7 +454,7 @@ public class StatusBarViewModel : MyReactiveObject
|
||||
{
|
||||
if (Utils.IsWindows())
|
||||
{
|
||||
return AppHandler.Instance.IsAdministrator;
|
||||
return Utils.IsAdministrator();
|
||||
}
|
||||
else if (Utils.IsLinux())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user