fix(main): remove disableHardwareAcceleration

Remove app.disableHardwareAcceleration() in main process
This commit is contained in:
Necho 2021-12-07 15:31:14 +08:00 committed by GitHub
parent 76660bbd6c
commit 5a9ffbff27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,6 @@
import path from 'path'
import { app, BrowserWindow } from 'electron'
app.disableHardwareAcceleration()
if (!app.requestSingleInstanceLock()) {
app.quit()
process.exit(0)