mingw-w64 updater: don't include windowsapp or onecore APIs

This commit is contained in:
Andrew Kelley 2024-03-20 11:25:54 -07:00
parent 25fb6de83c
commit 869c2a03f3

View File

@ -94,6 +94,12 @@ pub fn main() !void {
if (blacklisted) continue;
if (std.mem.endsWith(u8, entry.basename, "_windowsapp.def"))
continue;
if (std.mem.endsWith(u8, entry.basename, "_onecore.def"))
continue;
src_crt_dir.copyFile(entry.path, dest_crt_dir, entry.path, .{}) catch |err| {
std.log.err("unable to copy {s}: {s}", .{ entry.path, @errorName(err) });
fail = true;