Remove the display of run as an administrator in Linux and macos

This commit is contained in:
2dust
2024-12-31 16:30:27 +08:00
parent 0759be1223
commit cf8be85ff7
2 changed files with 14 additions and 13 deletions

View File

@@ -134,7 +134,7 @@ namespace v2rayN.Desktop.Views
}
});
this.Title = $"{Utils.GetVersion()} - {(AppHandler.Instance.IsAdministrator ? ResUI.RunAsAdmin : ResUI.NotRunAsAdmin)}";
this.Title = $"{Utils.GetVersion()}";
if (Utils.IsWindows())
{
ThreadPool.RegisterWaitForSingleObject(Program.ProgramStarted, OnProgramStarted, null, -1, false);