From e267bfef74c0ce75fc28b947187d791ce8216856 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sun, 30 Apr 2023 14:39:31 +0900
Subject: [PATCH] refs #3799 Show title bar on macOS
---
src/main/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/index.ts b/src/main/index.ts
index f2757f02..07856ec8 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -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,