From f4651e1886f00067b36e48df4d944ba117c3b466 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 23 Feb 2024 09:52:14 +0000 Subject: [PATCH] fix: Include proper this time --- gulpfile.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index f6abc206b..04cb78086 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -185,6 +185,15 @@ function createVersionFile(done) { /* ------ Pack ------ */ function nexusPack(done) { + const files = ["./build"]; + // Forcefully include ia32 library since nexus builds ia32 + if (process.platform === 'win32') { + files.push({ + from: '../../node_modules/@fparchive/flashpoint-archive-win32-ia32-msvc', + to: './node_modules/@fparchive/flashpoint-archive-win32-ia32-msvc', + filter: ["**/*"] + }); + } builder .build({ targets: builder.Platform.WINDOWS.createTarget(), @@ -196,7 +205,7 @@ function nexusPack(done) { buildResources: "./static/", output: "./dist/", }, - files: ["./build"], + files: files, extraFiles: copyFiles, // Files to copy to the build folder extraResources: extraResources, // Copy System Extensions compression: "maximum", // Only used if a compressed target (like 7z, nsis, dmg etc.)