Skip to content

Commit

Permalink
dist: build for x64 on linux
Browse files Browse the repository at this point in the history
The ia32 version segfault on amd64 Debian Sid.
  • Loading branch information
amurzeau committed Oct 24, 2023
1 parent 750cce5 commit 706deef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"linux": {
"icon" : "resources/png/app",
"target" : {"target":"dir", "arch": "ia32"},
"target" : {"target":"dir", "arch": "x64"},
"extraFiles" : [
{"from": "resources/example.ptree", "to": "example.ptree"},
{"from": "resources/equations.pdf", "to": "equations.pdf"},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build:lin": "electron-builder --config electron-builder.json --linux --dir",
"dist:mac": " electron-builder --config electron-builder.json --mac ; cd bin ; mv PTree.dmg PTree-macos.dmg ; rm -rf mac",
"dist:win": " electron-builder --config electron-builder.json --win ; cd bin ; mv win-unpacked PTree ; rm -f PTree-windows.zip ; zip -r -X -y -q PTree-windows.zip PTree/ ; rm -rf PTree",
"dist:lin": " electron-builder --config electron-builder.json --linux ; cd bin ; mv linux-ia32-unpacked PTree ; rm -f PTree-linux.zip ; zip -r -X -y -q PTree-linux.zip PTree/ ; rm -rf PTree",
"dist:lin": " electron-builder --config electron-builder.json --linux ; cd bin ; mv linux-unpacked PTree ; rm -f PTree-linux.zip ; zip -r -X -y -q PTree-linux.zip PTree/ ; rm -rf PTree",
"dist:all": " npm run dist:mac && npm run dist:win && npm run dist:lin"
},
"repository": {
Expand Down

0 comments on commit 706deef

Please sign in to comment.