Skip to content

Commit

Permalink
add MacOS build script
Browse files Browse the repository at this point in the history
  • Loading branch information
npoptomov committed Feb 19, 2023
1 parent 9d5db6e commit d2eb8a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"clean:lib": "rimraf ./lib",
"prets": "npm run clean:lib",
"ts": "tsc",
"build:win": "electron-builder --win"
"build:win": "electron-builder --win",
"build:mac": "electron-builder --mac"
},
"build": {
"productName": "ChatGPT",
Expand All @@ -21,6 +22,10 @@
"win": {
"icon": "resources/icons/icon.ico"
},
"mac": {
"category": "public.app-category.developer-tools",
"icon": "resources/icons/icon.icns"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
Expand Down
Binary file added resources/icons/icon.icns
Binary file not shown.

0 comments on commit d2eb8a8

Please sign in to comment.