feat: updates

This commit is contained in:
qier222 2023-03-05 19:03:52 +08:00
parent 840a5b8e9b
commit cb0a809b16
No known key found for this signature in database
29 changed files with 1550 additions and 449 deletions

View file

@ -12,7 +12,6 @@ import { createMenu } from './menu'
import { isDev, isWindows, isLinux, isMac, appName } from './env'
import store from './store'
import initAppServer from './appServer/appServer'
import { initDatabase } from './prisma'
class Main {
win: BrowserWindow | null = null
@ -35,7 +34,6 @@ class Main {
app.whenReady().then(async () => {
log.info('[index] App ready')
await initDatabase()
await initAppServer()
this.createWindow()
this.handleAppEvents()