build: Windows icon improvements

This commit is contained in:
Fabio Di Stasio 2022-06-02 11:17:53 +02:00
parent 26aad519df
commit d151c7254e
5 changed files with 8 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
assets/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@ -48,6 +48,7 @@
"package.json"
],
"win": {
"icon": "assets/icon.png",
"target": [
"nsis",
"portable"
@ -82,6 +83,12 @@
"license": "./LICENSE",
"category": "Development"
},
"nsis": {
"license": "./LICENSE",
"installerIcon": "assets/icon.ico",
"uninstallerIcon": "assets/icon.ico",
"installerHeader": "assets/icon.png"
},
"portable": {
"artifactName": "${productName}-${version}-portable.exe"
},

View File

@ -19,7 +19,7 @@ let mainWindow: BrowserWindow;
let mainWindowState: windowStateKeeper.State;
async function createMainWindow () {
const icon = require('../renderer/images/logo-32.png');
const icon = require('../renderer/images/logo-64.png');
const window = new BrowserWindow({
width: mainWindowState.width,
height: mainWindowState.height,

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB