Skip to content

Commit

Permalink
fix: icons works
Browse files Browse the repository at this point in the history
  • Loading branch information
brunto committed May 20, 2021
1 parent f1a74d7 commit 8262af4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ src/environments/environment.prod.ts
# electron
electron/releases/
electron/private/
*.log
.idea
.env
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function createWindow() {
alwaysOnTop: false,
fullscreen: false,
kiosk: false,
icon: path.join(__dirname, "icon.ico"),
icon: path.join(__dirname, "icons", "icon.ico"),
webPreferences: {
nodeIntegration: false,
plugins: true
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,36 +109,34 @@
"appId": "com.atnos.pia",
"afterSign": "electron/notarize.js",
"directories": {
"buildResources": ".",
"buildResources": "electron/icons",
"output": "electron/releases"
},
"files": [
"**/*",
"electron/icon.*"
],
"mac": {
"icon": "electron/icons/256x256.png",
"publish": [
"github"
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"icon": "electron/icons/512x512.png",
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"category": "public.app.category.productivity"
},
"win": {
"target": "nsis",
"publish": [
"github"
],
"icon": "electron/icons/512x512.png",
"verifyUpdateCodeSignature": false,
"publisherName": "ATNOS"
},
"linux": {
"publish": [
"github"
],
"icon": "electron/icons/512x512.png",
"category": "Network"
},
"nsis": {
Expand Down

0 comments on commit 8262af4

Please sign in to comment.