mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-26 10:10:33 +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);
|
||||
|
||||
string sdkInstallationFolder = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
||||
"InstallationFolder", RegistryHive.LocalMachine);
|
||||
string sdkProductVersion = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
||||
"ProductVersion", RegistryHive.LocalMachine);
|
||||
WindowsKitsDir = Path.Combine(sdkInstallationFolder, "bin", Helpers.NormalizeVersion(sdkProductVersion).ToString());
|
||||
if (Job.HasFlag(SetupJobs.CompileAppx))
|
||||
{
|
||||
string sdkInstallationFolder = RegistryHelpers.GetValueString(@"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0",
|
||||
"InstallationFolder", RegistryHive.LocalMachine);
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue