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:
Jaex 2018-11-16 16:43:04 +03:00 committed by GitHub
commit 9b1d56f41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -283,6 +283,7 @@ private static void Run()
DebugHelper.WriteLine("Personal path detection method: " + PersonalPathDetectionMethod);
}
DebugHelper.WriteLine("Operating system: " + Helpers.GetOperatingSystemProductName(true));
DebugHelper.WriteLine("Running as elevated process: " + Helpers.IsAdministrator());
SilentRun = CLI.IsCommandExist("silent", "s");
#if WindowsStore