adjustments for linux build

This commit is contained in:
Daniel Haller 2024-05-03 23:15:38 +02:00
parent 6ca3070450
commit e81e288e84
2 changed files with 8 additions and 13 deletions

View File

@ -37,19 +37,9 @@ const options = {
nsis: {
deleteAppDataOnUninstall: true
},
mac: {
category: 'public.app-category.entertainment',
hardenedRuntime: false,
gatekeeperAssess: false,
target: [
{
target: 'default',
arch: ['x64', 'arm64']
}
]
},
linux: {
maintainer: 'Stratum',
category: 'AudioVideo',
desktop: {
StartupNotify: 'false',
Encoding: 'UTF-8',

View File

@ -38,10 +38,13 @@ function createWindow() {
resizable: false,
fullscreen: false,
maximizable: false,
frame: false,
vibrancy: 'fullscreen-ui',
// Not working when unfocusing the window somehow?
backgroundMaterial: 'acrylic',
show: false
show: false,
// For Linux
autoHideMenuBar: true
})
// Show window after loading page
@ -195,7 +198,9 @@ ipcMain.handle(
maximizable: false,
vibrancy: 'fullscreen-ui',
backgroundMaterial: 'acrylic',
show: false
show: false,
// For Linux
autoHideMenuBar: true
})
newWindow.once('ready-to-show', () => {