Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust settings so they won't conflict with each other #58

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}