mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
Merge pull request #39 from Enoooch/main
fix(main): remove disableHardwareAcceleration
This commit is contained in:
commit
e8f77f0e85
@ -1,8 +1,6 @@
|
||||
import path from 'path'
|
||||
import { app, BrowserWindow } from 'electron'
|
||||
|
||||
app.disableHardwareAcceleration()
|
||||
|
||||
if (!app.requestSingleInstanceLock()) {
|
||||
app.quit()
|
||||
process.exit(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user