Indicate in debug logs if ShareX is running as an elevated process

This commit is contained in:
Luke Anderson 2018-11-16 21:43:50 +10:30
parent 8611794013
commit 5ca6f5b0aa

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