Skip to content

Commit

Permalink
adjust settings so they won't conflict with each other (#58)
Browse files Browse the repository at this point in the history
Signed-off-by: cbh778899 <cbh778899@outlook.com>
  • Loading branch information
cbh778899 authored Oct 16, 2024
1 parent b825da9 commit c533aa9
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": "cbh778899@outlook.com"
},
"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 c533aa9

Please sign in to comment.