Skip to content

Commit

Permalink
build for arm & macos
Browse files Browse the repository at this point in the history
  • Loading branch information
JovannMC committed Nov 16, 2024
1 parent 8f620ee commit 18657b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"start": "npm run preload && cross-env DEVELOPMENT=true && electron .",
"dev": "cross-env DEVELOPMENT=true && tsc && npm run copy-files && electron .",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out=build/ --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore=\"^/(src|docs|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$\"",
"build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,darwin,linux --arch=x64,arm64 --overwrite --out=build/ --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore=\"^/(src|docs|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$\"",
"preload": "npx @electron/rebuild && npx del-cli dist/ && tsc && npm run copy-files",
"copy-files": "npx copyfiles -u 1 \"src/**/*.js\" \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.ico\" \"src/**/*.png\" \"src/**/*.webp\" \"src/**/*.webm\" \"src/**/*.svg\" \"src/**/*.fbx\" src/languages/* dist/",
"build-bulma": "npx sass --watch ./src/static/css/index.scss ./src/static/css/index.css",
Expand Down

0 comments on commit 18657b0

Please sign in to comment.