Updated Windows packager to include icon

This commit is contained in:
Lucas Dower 2023-01-22 17:49:27 +00:00
parent 4a295894ab
commit 7d36f73c4a
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -14,6 +14,7 @@ ObjToSchematic-darwin-x64
/tools/models /tools/models
/tests/out /tests/out
/logs/ /logs/
/release/
notes.txt notes.txt
*.DS_Store *.DS_Store
.dependency-cruiser.js .dependency-cruiser.js

View File

@ -15,9 +15,9 @@
"atlas": "node ./dist/tools/build-atlas.js", "atlas": "node ./dist/tools/build-atlas.js",
"palette": "node ./dist/tools/build-palette.js", "palette": "node ./dist/tools/build-palette.js",
"headless": "tsc && node ./dist/tools/run-headless.js", "headless": "tsc && node ./dist/tools/run-headless.js",
"package:win": "electron-packager . ObjToSchematic --overwrite --platform=win32 --arch=x64 --app-version=0.6.0 --prune=true", "package:win": "electron-packager . ObjToSchematic --overwrite --platform=win32 --arch=x64 --icon=res/static/icon.ico --prune=true --out=release",
"package:linux": "electron-packager . ObjToSchematic --overwrite --platform=linux --arch=x64 --icon=res/static/icon.png --app-version=0.6.0 --prune=true", "package:linux": "electron-packager . ObjToSchematic --overwrite --platform=linux --arch=x64 --icon=res/static/icon.png --prune=true --out=release",
"package:macos": "electron-packager . ObjToSchematic --overwrite --platform=darwin --arch=x64 --icon=res/static/icon.icns --app-version=0.6.0 --prune=true" "package:macos": "electron-packager . ObjToSchematic --overwrite --platform=darwin --arch=x64 --icon=res/static/icon.icns --prune=true --out=release"
}, },
"repository": { "repository": {
"type": "git", "type": "git",