Skip to content

Commit

Permalink
specify arch in build section isntead of scripts section of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
acrantel committed Dec 25, 2023
1 parent e8f9aa9 commit f788db2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"tauri": "tauri",
"clean": "rimraf dist",
"electron-watch": "concurrently --kill-others \"npm run watch\" \"wait-on http://localhost:3000 && electron .\"",
"electron-pack": "USE_HARD_LINKS=false electron-builder build -mwl --dir --ia32 --x64 --publish never",
"electron-pack": "USE_HARD_LINKS=false electron-builder build -mwl --publish never",
"electron-build": "npm run build && npm run electron-pack"
},
"build": {
Expand Down Expand Up @@ -40,19 +40,30 @@
"target": [
"dir"
],
"arch": [
"x64"
],
"category": "public.app-category.games",
"hardenedRuntime": "true"
},
"win": {
"icon": "icons/icon.ico",
"target": [
"dir"
],
"arch": [
"x64",
"ia32"
]
},
"linux": {
"icon": "icons/icon.png",
"target": [
"dir"
],
"arch": [
"x64",
"ia32"
]
},
"files": [
Expand Down

0 comments on commit f788db2

Please sign in to comment.