mirror of
https://github.com/heyman/heynote.git
synced 2024-11-08 00:54:31 +01:00
Change icon on Windows
#windows-build
This commit is contained in:
parent
3772e02bee
commit
b561c0184e
@ -36,7 +36,7 @@
|
||||
}
|
||||
],
|
||||
"artifactName": "${productName}_${version}.${ext}",
|
||||
"icon": "public/favicon.ico"
|
||||
"icon": "public/favicon.png"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
|
@ -47,7 +47,7 @@ const indexHtml = join(process.env.DIST, 'index.html')
|
||||
async function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
title: 'Main window',
|
||||
icon: join(process.env.PUBLIC, 'favicon.ico'),
|
||||
icon: join(process.env.PUBLIC, 'favicon.png'),
|
||||
//titleBarStyle: 'customButtonsOnHover',
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<link rel="icon" href="/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
|
||||
<meta name="color-scheme" content="light dark">
|
||||
|
BIN
public/favicon.png
Normal file
BIN
public/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
Reference in New Issue
Block a user