Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed May 27, 2024
1 parent 9d240be commit e997d64
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
dist-electron
release
7 changes: 6 additions & 1 deletion electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
},
"files": [ "dist", "dist-electron" ],
"mac": {
"icon": "dist/icon.png",
"target": [ "dmg" ],
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
},
"win": {
"icon": "dist/icon.png",
"target": [
{
"target": "nsis",
Expand All @@ -29,7 +31,10 @@
"deleteAppDataOnUninstall": false
},
"linux": {
"target": [ "AppImage", "deb", "rpm", "pacman" ],
"icon": "dist/icon.png",
"category": "Utility",
"maintainer": "https://github.com/AtomicSponge/script-tray/issues",
"target": [ "AppImage", "deb", "pacman" ],
"artifactName": "${productName}-Linux-${version}.${ext}"
}
}
2 changes: 1 addition & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const appInfo = {
websiteURL: 'https://github.com/AtomicSponge/script-tray',
license: 'MIT',
licenseURL: 'https://mit-license.org',
icon: path.join(process.env.VITE_PUBLIC, 'icon', 'robot.png'),
icon: path.join(process.env.VITE_PUBLIC, 'icon.png'),
iconURL: 'http://www.onlinewebfonts.com',
iconLicenseURL: 'https://creativecommons.org/licenses/by/4.0/'
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"main": "dist-electron/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"package": "vite build && electron-builder"
"test": "vite build",
"build": "vite build && electron-builder"
},
"dependencies": {
"vue": "^3.4.27"
Expand Down
Binary file added public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icon/robot.png
Binary file not shown.

0 comments on commit e997d64

Please sign in to comment.