Merge pull request #39 from Enoooch/main

fix(main): remove disableHardwareAcceleration
This commit is contained in:
草鞋没号 2021-12-07 19:02:34 +08:00 committed by GitHub
commit e8f77f0e85
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)