mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-05 20:54:31 +13:00
Merge pull request #3757 from stuntguy3000/show-administrator
Indicate in debug logs if ShareX is running as an elevated process
This commit is contained in:
commit
9b1d56f41d
1 changed files with 1 additions and 0 deletions
|
@ -283,6 +283,7 @@ private static void Run()
|
||||||
DebugHelper.WriteLine("Personal path detection method: " + PersonalPathDetectionMethod);
|
DebugHelper.WriteLine("Personal path detection method: " + PersonalPathDetectionMethod);
|
||||||
}
|
}
|
||||||
DebugHelper.WriteLine("Operating system: " + Helpers.GetOperatingSystemProductName(true));
|
DebugHelper.WriteLine("Operating system: " + Helpers.GetOperatingSystemProductName(true));
|
||||||
|
DebugHelper.WriteLine("Running as elevated process: " + Helpers.IsAdministrator());
|
||||||
|
|
||||||
SilentRun = CLI.IsCommandExist("silent", "s");
|
SilentRun = CLI.IsCommandExist("silent", "s");
|
||||||
#if WindowsStore
|
#if WindowsStore
|
||||||
|
|
Loading…
Reference in a new issue