Skip to content

Commit

Permalink
Use store onecoreuap headers (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfoodK authored Jun 30, 2024
1 parent 9b264ea commit 4f852a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,26 @@ fn get_sdk(
target_arch: None,
});

// https://github.com/Jake-Shadle/xwin/issues/128
let header_payload = sdk.payloads.iter().find(|payload| {
payload
.file_name
.ends_with("Windows SDK for Windows Store Apps Headers OnecoreUap-x86_en-us.msi")
});

if let Some(header_payload) = header_payload {
pruned.push(Payload {
filename: format!("{}_store_headers_onecoreuap.msi", sdk.id).into(),
sha256: header_payload.sha256.clone(),
url: header_payload.url.clone(),
size: header_payload.size,
install_size: None,
kind: PayloadKind::SdkHeaders,
variant: Some(Variant::Store),
target_arch: None,
});
}

for arch in Arch::iter(arches) {
if arch == Arch::X86 {
continue;
Expand Down

0 comments on commit 4f852a0

Please sign in to comment.