Fix Windows taskbar app icon
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -1893,7 +1893,7 @@ function createWindow() {
|
||||
backgroundColor: '#f4f5f1',
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
icon: path.join(__dirname, '..', 'icon.svg'),
|
||||
icon: path.join(__dirname, '..', process.platform === 'win32' ? 'icon.ico' : 'icon.svg'),
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'preload.cjs'),
|
||||
contextIsolation: true,
|
||||
|
||||
Reference in New Issue
Block a user