Skip to content

Commit

Permalink
录屏 移除mac红绿灯
Browse files Browse the repository at this point in the history
  • Loading branch information
xushengfeng committed May 12, 2024
1 parent 10f63bf commit 149cbcc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1093,8 +1093,7 @@ function createRecorderWindow(rect0, screenx: { id: string; w: number; h: number
transparent: true,
frame: false,
autoHideMenuBar: true,
resizable: process.platform == "linux",
titleBarStyle: "hiddenInset",
resizable: process.platform === "linux",
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
Expand Down Expand Up @@ -1148,8 +1147,7 @@ function createRecorderWindow(rect0, screenx: { id: string; w: number; h: number
transparent: true,
frame: false,
autoHideMenuBar: true,
resizable: process.platform == "linux",
titleBarStyle: "hiddenInset",
resizable: process.platform === "linux",
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
Expand Down

0 comments on commit 149cbcc

Please sign in to comment.