feat: 修改样式和启动命令

This commit is contained in:
alger
2023-12-19 14:42:53 +08:00
parent 9211dcd3bb
commit 6c8229a21d
13 changed files with 239 additions and 233 deletions
+1 -1
View File
@@ -14,8 +14,8 @@ function createWindow() {
win.setMinimumSize(1280, 900);
if (process.env.NODE_ENV === 'dev') {
win.loadURL('http://localhost:4678/')
win.webContents.openDevTools({ mode: 'detach' })
win.loadURL('http://localhost:4678/')
} else {
win.loadURL(`file://${__dirname}/dist/index.html`)
}