Skip to content

Commit

Permalink
fix: Include proper this time
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Feb 23, 2024
1 parent 9de4459 commit f4651e1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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.)
Expand Down

0 comments on commit f4651e1

Please sign in to comment.