mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-29 03:30:43 +12:00
Check SetupJobs.CompileAppx
This commit is contained in:
parent
060b61d00e
commit
4d64901364
|
@ -243,13 +243,16 @@ private static void UpdatePaths()
|
||||||
|
|
||||||
Console.WriteLine("Application version: " + AppVersion);
|
Console.WriteLine("Application version: " + AppVersion);
|
||||||
|
|
||||||
string sdkInstallationFolder = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
if (Job.HasFlag(SetupJobs.CompileAppx))
|
||||||
"InstallationFolder", RegistryHive.LocalMachine);
|
{
|
||||||
string sdkProductVersion = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
string sdkInstallationFolder = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
||||||
"ProductVersion", RegistryHive.LocalMachine);
|
"InstallationFolder", RegistryHive.LocalMachine);
|
||||||
WindowsKitsDir = Path.Combine(sdkInstallationFolder, "bin", Helpers.NormalizeVersion(sdkProductVersion).ToString());
|
string sdkProductVersion = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
||||||
|
"ProductVersion", RegistryHive.LocalMachine);
|
||||||
|
WindowsKitsDir = Path.Combine(sdkInstallationFolder, "bin", Helpers.NormalizeVersion(sdkProductVersion).ToString());
|
||||||
|
|
||||||
Console.WriteLine("Windows Kits directory: " + WindowsKitsDir);
|
Console.WriteLine("Windows Kits directory: " + WindowsKitsDir);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void CompileSetup()
|
private static void CompileSetup()
|
||||||
|
|
Loading…
Reference in a new issue