Merge pull request #4335 from h3poteto/iss-3799

refs #3799 Show title bar on macOS
This commit is contained in:
AkiraFukushima 2023-04-30 14:44:08 +09:00 committed by GitHub
commit 8538cb8d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ async function createWindow() {
defaultHeight: 563
})
const titleBarStyle = process.platform === 'win32' ? 'default' : 'hidden'
const titleBarStyle = process.platform === 'linux' ? 'hidden' : 'default'
const mainOpts: BrowserWindowConstructorOptions = {
titleBarStyle: titleBarStyle,