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: {
|
nsis: {
|
||||||
deleteAppDataOnUninstall: true
|
deleteAppDataOnUninstall: true
|
||||||
},
|
},
|
||||||
mac: {
|
|
||||||
category: 'public.app-category.entertainment',
|
|
||||||
hardenedRuntime: false,
|
|
||||||
gatekeeperAssess: false,
|
|
||||||
target: [
|
|
||||||
{
|
|
||||||
target: 'default',
|
|
||||||
arch: ['x64', 'arm64']
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
linux: {
|
linux: {
|
||||||
maintainer: 'Stratum',
|
maintainer: 'Stratum',
|
||||||
|
category: 'AudioVideo',
|
||||||
desktop: {
|
desktop: {
|
||||||
StartupNotify: 'false',
|
StartupNotify: 'false',
|
||||||
Encoding: 'UTF-8',
|
Encoding: 'UTF-8',
|
||||||
|
@ -38,10 +38,13 @@ function createWindow() {
|
|||||||
resizable: false,
|
resizable: false,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
|
frame: false,
|
||||||
vibrancy: 'fullscreen-ui',
|
vibrancy: 'fullscreen-ui',
|
||||||
// Not working when unfocusing the window somehow?
|
// Not working when unfocusing the window somehow?
|
||||||
backgroundMaterial: 'acrylic',
|
backgroundMaterial: 'acrylic',
|
||||||
show: false
|
show: false,
|
||||||
|
// For Linux
|
||||||
|
autoHideMenuBar: true
|
||||||
})
|
})
|
||||||
|
|
||||||
// Show window after loading page
|
// Show window after loading page
|
||||||
@ -195,7 +198,9 @@ ipcMain.handle(
|
|||||||
maximizable: false,
|
maximizable: false,
|
||||||
vibrancy: 'fullscreen-ui',
|
vibrancy: 'fullscreen-ui',
|
||||||
backgroundMaterial: 'acrylic',
|
backgroundMaterial: 'acrylic',
|
||||||
show: false
|
show: false,
|
||||||
|
// For Linux
|
||||||
|
autoHideMenuBar: true
|
||||||
})
|
})
|
||||||
|
|
||||||
newWindow.once('ready-to-show', () => {
|
newWindow.once('ready-to-show', () => {
|
||||||
|
Reference in New Issue
Block a user