diff --git a/electron-builder-test.yml b/electron-builder-test.yml index 61fba8f..ed4e1e2 100644 --- a/electron-builder-test.yml +++ b/electron-builder-test.yml @@ -12,7 +12,7 @@ asarUnpack: - resources/** win: executableName: AIx - icon: resources/logo.ico + icon: resources/logo2.ico nsis: oneClick: false allowToChangeInstallationDirectory: true diff --git a/electron-builder.yml b/electron-builder.yml index cb2cf97..911fb1c 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -12,7 +12,7 @@ asarUnpack: - resources/** win: executableName: AIx - icon: resources/logo.ico + icon: resources/logo2.ico nsis: oneClick: false allowToChangeInstallationDirectory: true diff --git a/resources/logo2.ico b/resources/logo2.ico new file mode 100644 index 0000000..9afc9f1 Binary files /dev/null and b/resources/logo2.ico differ diff --git a/src/main/index.js b/src/main/index.js index a93360e..d7d7d6e 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -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'),