mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-03-01 22:40:09 +08:00
Merge branch 'main' of github.com:caoxiemeihao/electron-vue-vite into main
This commit is contained in:
commit
b2a2aa5388
@ -1,8 +1,6 @@
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { app, BrowserWindow } from 'electron'
|
import { app, BrowserWindow } from 'electron'
|
||||||
|
|
||||||
app.disableHardwareAcceleration()
|
|
||||||
|
|
||||||
if (!app.requestSingleInstanceLock()) {
|
if (!app.requestSingleInstanceLock()) {
|
||||||
app.quit()
|
app.quit()
|
||||||
process.exit(0)
|
process.exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user