Skip to content

Commit

Permalink
[ci]: Build for Windows MSI; Fix Windows icon size
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagohm committed Oct 27, 2024
1 parent 76a476c commit f927d52
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ jobs:
desktop/release/nebulosa*.deb
desktop/release/nebulosa*.rpm
desktop/release/nebulosa*.exe
desktop/release/nebulosa*.msi
desktop/release/nebulosa*.dmg
retention-days: 3
17 changes: 13 additions & 4 deletions desktop/electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"asar": true,
"appId": "dev.tiagohm.nebulosa",
"productName": "Nebulosa",
"directories": {
"output": "release/"
},
"files": [
"**/*",
"!**/*.ts",
"!*.map",
"!**/*.bmp",
"!**/*.ico",
"!**/*.icns",
"!package.json",
"!package-lock.json",
{
Expand All @@ -16,18 +21,22 @@
],
"extraResources": ["api.jar"],
"win": {
"icon": "dist/browser/assets/icons",
"target": ["portable"]
"icon": "dist/browser/assets/icons/nebulosa.ico",
"target": ["portable", "msi"]
},
"portable": {
"splashImage": "dist/browser/assets/images/splash.bmp"
},
"msi": {
"oneClick": false,
"runAfterFinish": false
},
"mac": {
"icon": "dist/browser/assets/icons",
"icon": "dist/browser/assets/icons/nebulosa.icns",
"target": ["dmg"]
},
"linux": {
"icon": "dist/browser/assets/icons",
"icon": "dist/browser/assets/icons/nebulosa.png",
"category": "Science",
"target": ["AppImage", "deb", "rpm"]
},
Expand Down
2 changes: 2 additions & 0 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"electron:build:deb": "npm run electron:build -- --linux deb",
"electron:build:rpm": "npm run electron:build -- --linux rpm",
"electron:build:app": "npm run electron:build -- --linux AppImage",
"electron:build:portable": "npm run electron:build -- --win portable",
"electron:build:msi": "npm run electron:build -- --win msi",
"lint": "npx eslint .",
"prettier:ts": "npx prettier '**/*.ts' --write",
"prettier:html": "npx prettier '**/*.html' --write",
Expand Down
Binary file removed desktop/src/assets/icons/favicon.icns
Binary file not shown.
Binary file removed desktop/src/assets/icons/nebulosa-256.png
Binary file not shown.
Binary file added desktop/src/assets/icons/nebulosa.icns
Binary file not shown.
Binary file added desktop/src/assets/icons/nebulosa.ico
Binary file not shown.
Binary file modified desktop/src/assets/icons/nebulosa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f927d52

Please sign in to comment.