Browse Source

fix(icon): custom zap icon

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
25c205d425
  1. BIN
      app/app.icns
  2. BIN
      app/icons/zap.icns
  3. 5
      app/main.dev.js
  4. 1
      package.json
  5. BIN
      resources/icon.icns
  6. BIN
      resources/icon.ico
  7. BIN
      resources/icon.png

BIN
app/app.icns

Binary file not shown.

BIN
app/icons/zap.icns

Binary file not shown.

5
app/main.dev.js

@ -75,10 +75,13 @@ app.on('ready', async () => {
await installExtensions(); await installExtensions();
} }
let icon = path.join(__dirname, '..', 'resources', 'icon.icns')
console.log('icon: ', icon)
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
show: false, show: false,
frame: false, frame: false,
nodeIntegration: false nodeIntegration: false,
icon: icon
}) })
mainWindow.maximize(); mainWindow.maximize();

1
package.json

@ -44,6 +44,7 @@
"rpc.proto" "rpc.proto"
], ],
"dmg": { "dmg": {
"icon": "./resources/icon.icns",
"contents": [ "contents": [
{ {
"x": 130, "x": 130,

BIN
resources/icon.icns

Binary file not shown.

BIN
resources/icon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

BIN
resources/icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Loading…
Cancel
Save