|
|
@ -191,6 +191,11 @@ namespace v2rayN.Views
|
|
|
|
this.Title = $"{Utils.GetVersion()} - {(IsAdministrator ? ResUI.RunAsAdmin : ResUI.NotRunAsAdmin)}";
|
|
|
|
this.Title = $"{Utils.GetVersion()} - {(IsAdministrator ? ResUI.RunAsAdmin : ResUI.NotRunAsAdmin)}";
|
|
|
|
|
|
|
|
|
|
|
|
spEnableTun.Visibility = IsAdministrator ? Visibility.Visible : Visibility.Collapsed;
|
|
|
|
spEnableTun.Visibility = IsAdministrator ? Visibility.Visible : Visibility.Collapsed;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (_config.uiItem.autoHideStartup)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
WindowState = WindowState.Minimized;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Event
|
|
|
|
#region Event
|
|
|
|