mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
✨ feat: 修改样式和启动命令
This commit is contained in:
@@ -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`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user