Skip to content

Commit 33c838c

Browse files
authored
fix stuck windows in macos by enabling hw acceleration (#1445)
1 parent bf60947 commit 33c838c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main/src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ if (!app.requestSingleInstanceLock()) {
1919
app.exit()
2020
}
2121

22-
app.disableHardwareAcceleration()
22+
if (process.platform !== 'darwin') {
23+
app.disableHardwareAcceleration()
24+
}
2325
app.enableSandbox()
2426

2527
let tray: AppTray

0 commit comments

Comments
 (0)