This commit is contained in:
lyc 2024-07-26 11:06:06 +08:00
parent c0c3324d9d
commit 7e3978d532
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ asarUnpack:
- resources/**
win:
executableName: AIx
icon: resources/logo.ico
icon: resources/logo2.ico
nsis:
oneClick: false
allowToChangeInstallationDirectory: true

View File

@ -12,7 +12,7 @@ asarUnpack:
- resources/**
win:
executableName: AIx
icon: resources/logo.ico
icon: resources/logo2.ico
nsis:
oneClick: false
allowToChangeInstallationDirectory: true

BIN
resources/logo2.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@ -18,7 +18,7 @@ function createLoginWindow() {
show: false,
frame: false,
autoHideMenuBar: true,
icon: join(__dirname, '../../resources/logo.ico'),
icon: join(__dirname, '../../resources/logo2.ico'),
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, '../preload/index.js'),
@ -53,7 +53,7 @@ function createMainWindow() {
show: false,
frame: false, // 无边框
autoHideMenuBar: true,
icon: join(__dirname, '../../resources/logo.ico'),
icon: join(__dirname, '../../resources/logo2.ico'),
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, '../preload/index.js'),