Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
fix(desktop): linux and windows zips are generated correctly
Browse files Browse the repository at this point in the history
Use the electron builder zips for linux and windows.
  • Loading branch information
markmcdowell committed Dec 11, 2020
1 parent a24ed28 commit 1860960
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@
"clean": "rimraf dist pack",
"copy": "copyfiles -f \"../../node_modules/@reactivemarkets/desktop-*/**/*.asar\" dist",
"package:darwin": "run-s clean copy builder:darwin zip:darwin",
"package:linux": "run-s clean copy builder:linux zip:linux",
"package:win32": "run-s clean copy builder:win32 zip:win32",
"package:linux": "run-s clean copy builder:linux",
"package:win32": "run-s clean copy builder:win32",
"postinstall": "node install.js",
"postzip:darwin": "node blockmap.js",
"zip:darwin": "cross-var \"cd pack/mac && zip -r -q --symlinks ../Desktop-$npm_package_version-darwin-x64.zip * && cd ../..\"",
"zip:linux": "cross-var \"cd pack/linux-unpacked && zip -r -q --symlinks ../Desktop-$npm_package_version-linux-x64.zip * && cd ../..\"",
"zip:win32": "cross-var \"cd pack/win-unpacked && bestzip ../Desktop-$npm_package_version-win32-x64.zip * && cd ../..\""
"zip:darwin": "cross-var \"cd pack/mac && zip -r -q --symlinks ../Desktop-$npm_package_version-darwin-x64.zip * && cd ../..\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1860960

Please sign in to comment.