Skip to content

Commit 0070ff3

Browse files
authored
Build: added dist-all script that builds all 3 platforms artifacts (#357)
Note that this probably won't work in anything but macOS: there is no way to build mac package on anything but macOS right now.
1 parent 2ac641e commit 0070ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build": "webpack --watch",
3636
"server": "pm2 start \"npx ws -d ./build-e2e -p 8080\" --name cy-server",
3737
"server:stop": "pm2 --silent stop cy-server || true",
38-
"dist": "webpack --config webpack.config.production.ts && electron-builder -mwl",
38+
"dist-all": "webpack --config webpack.config.production.ts && electron-builder -w --x64 --arm64 && electron-builder -m --universal && electron-builder -l --x64 --arm64",
3939
"dist-win": "webpack --config webpack.config.production.ts && electron-builder -w --x64 --arm64",
4040
"dist-mac": "webpack --config webpack.config.production.ts && electron-builder -m --universal",
4141
"dist-linux": "webpack --config webpack.config.production.ts && electron-builder -l --x64 --arm64",

0 commit comments

Comments
 (0)