Revert "Change icon on Windows"

This reverts commit b561c0184e.
This commit is contained in:
Jonatan Heyman 2023-01-16 16:07:39 +01:00
parent c43a858f4c
commit 97995da5e1
4 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
} }
], ],
"artifactName": "${productName}_${version}.${ext}", "artifactName": "${productName}_${version}.${ext}",
"icon": "public/favicon.png" "icon": "public/favicon.ico"
}, },
"nsis": { "nsis": {
"oneClick": false, "oneClick": false,

View File

@ -47,7 +47,7 @@ const indexHtml = join(process.env.DIST, 'index.html')
async function createWindow() { async function createWindow() {
win = new BrowserWindow({ win = new BrowserWindow({
title: 'Main window', title: 'Main window',
icon: join(process.env.PUBLIC, 'favicon.png'), icon: join(process.env.PUBLIC, 'favicon.ico'),
//titleBarStyle: 'customButtonsOnHover', //titleBarStyle: 'customButtonsOnHover',
autoHideMenuBar: true, autoHideMenuBar: true,
webPreferences: { webPreferences: {

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" /> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<meta name="color-scheme" content="light dark"> <meta name="color-scheme" content="light dark">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB