mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
fix(main): remove disableHardwareAcceleration
Remove app.disableHardwareAcceleration() in main process
This commit is contained in:
parent
76660bbd6c
commit
5a9ffbff27
@ -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