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 045c309
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions 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 All @@ -38,21 +38,38 @@
"mac": {
"icon": "icons/icon.icns",
"target": [
"dir"
{
"target": "dir",
"arch": [
"x64"
]
}
],
"category": "public.app-category.games",
"hardenedRuntime": "true"
},
"win": {
"icon": "icons/icon.ico",
"target": [
"dir"
{
"target": "dir",
"arch": [
"x64",
"ia32"
]
}
]
},
"linux": {
"icon": "icons/icon.png",
"target": [
"dir"
{
"target": "dir",
"arch": [
"x64",
"ia32"
]
}
]
},
"files": [
Expand Down

0 comments on commit 045c309

Please sign in to comment.