Skip to content

Commit

Permalink
adjust settings so they won't conflict with each other
Browse files Browse the repository at this point in the history
Signed-off-by: cbh778899 <[email protected]>
  • Loading branch information
cbh778899 committed Oct 16, 2024
1 parent b825da9 commit 247710f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
3 changes: 3 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ files:
win:
target:
- nsis
icon: build/icons/icon.ico # Set Windows icon

mac:
target:
- zip
icon: build/icons/icon.icns # Set macOS icon

linux:
target:
- AppImage
icon: build/icons/icon.png # Set Linux icon

nsis:
oneClick: false # Whether the installer is one-click
Expand Down
14 changes: 1 addition & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Bohan Cheng",
"email": "[email protected]"
},
"version": "0.2.5",
"version": "0.2.6",
"main": "electron.js",
"license": "Apache-2.0",
"scripts": {
Expand Down Expand Up @@ -42,17 +42,5 @@
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"vite": "^5.4.1"
},
"build": {
"icon": "build/icons/icon.png",
"win": {
"icon": "build/icons/icon.ico"
},
"mac": {
"icon": "build/icons/icon.icns"
},
"linux": {
"icon": "build/icons/icon.png"
}
}
}

0 comments on commit 247710f

Please sign in to comment.