Skip to content

Commit 95682e0

Browse files
committed
improve build script
1 parent 94e6ede commit 95682e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "main.js",
66
"scripts": {
77
"start": "electron .",
8-
"build": "electron-builder build --mac --win --linux"
8+
"build": "rm -rf dist && electron-builder build --mac --win --linux"
99
},
1010
"keywords": [],
1111
"author": "",
@@ -19,7 +19,8 @@
1919
"build": {
2020
"appId": "com.bitclout.electron",
2121
"mac": {
22-
"category": "public.app-category.social-networking"
22+
"category": "public.app-category.social-networking",
23+
"target": "dmg"
2324
}
2425
},
2526
"dependencies": {

0 commit comments

Comments
 (0)