From 5a9ffbff27c602eadb5411409c8e951ccb563e53 Mon Sep 17 00:00:00 2001 From: Necho <39915133+Enoooch@users.noreply.github.com> Date: Tue, 7 Dec 2021 15:31:14 +0800 Subject: [PATCH] fix(main): remove disableHardwareAcceleration Remove app.disableHardwareAcceleration() in main process --- src/main/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index b57eed7..36cc59a 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -1,8 +1,6 @@ import path from 'path' import { app, BrowserWindow } from 'electron' -app.disableHardwareAcceleration() - if (!app.requestSingleInstanceLock()) { app.quit() process.exit(0)