Skip to content

Commit

Permalink
update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
leo4life2 committed Jul 17, 2024
1 parent 10110c7 commit 52338da
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"backend": "node server.js --mode server",
"start": "electron .",
"clean": "rm -rf dist",
"build": "npm run clean && electron-builder"
"build": "npm run clean && electron-builder",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win"
},
"devDependencies": {
"electron": "^31.2.0",
Expand Down Expand Up @@ -62,10 +64,11 @@
"NSMicrophoneUsageDescription": "We need access to your microphone for voice input.",
"com.apple.security.device.audio-input": true
},
"hardenedRuntime": false
"hardenedRuntime": false,
"target": ["dmg"]
},
"win": {
"target": "nsis",
"target": ["nsis"],
"icon": "build/icon.ico"
},
"linux": {
Expand Down

0 comments on commit 52338da

Please sign in to comment.