Skip to content

Commit

Permalink
Deactivating the Privilege Elevation check, as it's giving us false p…
Browse files Browse the repository at this point in the history
…ositives on Windows 11! (damn)

For #64
  • Loading branch information
Lisias committed Nov 19, 2023
1 parent 229eab0 commit d2ea659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/KSPe/Multiplatform/Tools/LowLevelTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public static bool isElevated
{
get
{
if (Windows.IsThisWindows) return false;

using (WindowsIdentity identity = WindowsIdentity.GetCurrent())
{
WindowsPrincipal principal = new WindowsPrincipal(identity);
Expand Down

0 comments on commit d2ea659

Please sign in to comment.