refs #3799 Show title bar on macOS

This commit is contained in:
AkiraFukushima 2023-04-30 14:39:31 +09:00
parent 4fcb63813f
commit e267bfef74
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957

View File

@ -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,