diff --git a/app/scripts/build_win.js b/app/scripts/build_win.js index 5bb9f29..09df1ff 100644 --- a/app/scripts/build_win.js +++ b/app/scripts/build_win.js @@ -1,5 +1,5 @@ const { MSICreator } = require('electron-wix-msi'); -const package = require('package.json') +const package = require('../package.json') // Step 1: Instantiate the MSICreator const msiCreator = new MSICreator({ diff --git a/app/scripts/build_win.sh b/app/scripts/build_win.sh index 6d1f246..0b29b8a 100644 --- a/app/scripts/build_win.sh +++ b/app/scripts/build_win.sh @@ -2,6 +2,6 @@ ./node_modules/.bin/electron-packager . mcopy --overwrite --platform=win32 --arch=x64 --icon=assets/icons/icon.ico --prune=true --out=../dist --version-string.CompanyName="sixteenmillimeter.com" --version-string.FileDescription="Open Source Optical Printer Platform" --version-string.ProductName="mcopy" -mkdir ../dist/installers +mkdir -p ../dist/installers node ./scripts/build_win.js \ No newline at end of file