Skip to content

Commit

Permalink
fix stuck windows in macos by enabling hw acceleration (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
lundibundi authored Sep 8, 2024
1 parent bf60947 commit 33c838c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ if (!app.requestSingleInstanceLock()) {
app.exit()
}

app.disableHardwareAcceleration()
if (process.platform !== 'darwin') {
app.disableHardwareAcceleration()
}
app.enableSandbox()

let tray: AppTray
Expand Down

0 comments on commit 33c838c

Please sign in to comment.