mirror of
https://github.com/Fabio286/antares.git
synced 2025-01-23 14:10:43 +01:00
build: Windows icon improvements
This commit is contained in:
parent
26aad519df
commit
d151c7254e
BIN
assets/appx/Square44x44Logo.targetsize-256_altform-unplated.png
Normal file
BIN
assets/appx/Square44x44Logo.targetsize-256_altform-unplated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 172 KiB |
@ -48,6 +48,7 @@
|
|||||||
"package.json"
|
"package.json"
|
||||||
],
|
],
|
||||||
"win": {
|
"win": {
|
||||||
|
"icon": "assets/icon.png",
|
||||||
"target": [
|
"target": [
|
||||||
"nsis",
|
"nsis",
|
||||||
"portable"
|
"portable"
|
||||||
@ -82,6 +83,12 @@
|
|||||||
"license": "./LICENSE",
|
"license": "./LICENSE",
|
||||||
"category": "Development"
|
"category": "Development"
|
||||||
},
|
},
|
||||||
|
"nsis": {
|
||||||
|
"license": "./LICENSE",
|
||||||
|
"installerIcon": "assets/icon.ico",
|
||||||
|
"uninstallerIcon": "assets/icon.ico",
|
||||||
|
"installerHeader": "assets/icon.png"
|
||||||
|
},
|
||||||
"portable": {
|
"portable": {
|
||||||
"artifactName": "${productName}-${version}-portable.exe"
|
"artifactName": "${productName}-${version}-portable.exe"
|
||||||
},
|
},
|
||||||
|
@ -19,7 +19,7 @@ let mainWindow: BrowserWindow;
|
|||||||
let mainWindowState: windowStateKeeper.State;
|
let mainWindowState: windowStateKeeper.State;
|
||||||
|
|
||||||
async function createMainWindow () {
|
async function createMainWindow () {
|
||||||
const icon = require('../renderer/images/logo-32.png');
|
const icon = require('../renderer/images/logo-64.png');
|
||||||
const window = new BrowserWindow({
|
const window = new BrowserWindow({
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
|
BIN
src/renderer/images/logo-64.png
Normal file
BIN
src/renderer/images/logo-64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
Loading…
Reference in New Issue
Block a user