refs #3799 Show title bar on macOS
This commit is contained in:
parent
4fcb63813f
commit
e267bfef74
@ -287,7 +287,7 @@ async function createWindow() {
|
|||||||
defaultHeight: 563
|
defaultHeight: 563
|
||||||
})
|
})
|
||||||
|
|
||||||
const titleBarStyle = process.platform === 'win32' ? 'default' : 'hidden'
|
const titleBarStyle = process.platform === 'linux' ? 'hidden' : 'default'
|
||||||
|
|
||||||
const mainOpts: BrowserWindowConstructorOptions = {
|
const mainOpts: BrowserWindowConstructorOptions = {
|
||||||
titleBarStyle: titleBarStyle,
|
titleBarStyle: titleBarStyle,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user