Skip to content

Commit 82e4634

Browse files
committed
feat: electron build mac win32 win64
1 parent 9516c42 commit 82e4634

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build-electron.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
working-directory: ./demos/with-electron
2929
run: |
3030
pnpm install --no-frozen-lockfile
31-
pnpm run build
31+
pnpm run build:win32
32+
pnpm run build:win64

demos/with-electron/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"main": "src/main.js",
66
"scripts": {
77
"dev": "npx electron .",
8-
"build": "electron-builder"
8+
"build:mac": "electron-builder --mac",
9+
"build:win32": "electron-builder --win --ia32",
10+
"build:win64": "electron-builder --win --x64"
911
},
1012
"keywords": [],
1113
"author": "",

0 commit comments

Comments
 (0)