adjustments for linux build
This commit is contained in:
parent
6ca3070450
commit
e81e288e84
12
build.js
12
build.js
@ -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',
|
||||
|
@ -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', () => {
|
||||
|
Reference in New Issue
Block a user