Remove unused

This commit is contained in:
2dust
2025-07-06 14:11:34 +08:00
parent 493c37e7d5
commit 75ceba1b08
10 changed files with 7 additions and 264 deletions
-12
View File
@@ -816,18 +816,6 @@ public class Utils
return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
}
return false;
//else
//{
// var id = GetLinuxUserId().Result ?? "1000";
// if (int.TryParse(id, out var userId))
// {
// return userId == 0;
// }
// else
// {
// return false;
// }
//}
}
private static async Task<string?> GetLinuxUserId()