mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed app icon for ubuntu
This commit is contained in:
parent
b35f8811ae
commit
30d4d70b75
1 changed files with 4 additions and 1 deletions
|
@ -43,9 +43,12 @@ const indexHtml = join(process.env.DIST, 'index.html')
|
|||
async function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
title: 'Main window',
|
||||
icon: join(process.env.VITE_PUBLIC, 'favicon.ico'),
|
||||
icon: join(process.env.VITE_PUBLIC, 'icon_cube_border.png'),
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
preload,
|
||||
backgroundThrottle: false,
|
||||
|
||||
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
||||
// Consider using contextBridge.exposeInMainWorld
|
||||
// Read more on https://www.electronjs.org/docs/latest/tutorial/context-isolation
|
||||
|
|
Loading…
Reference in a new issue