chore: comments

This commit is contained in:
草鞋没号 2022-11-06 18:10:36 +08:00
parent 2512ad1652
commit ffe6fc651f

View File

@ -52,7 +52,7 @@ async function createWindow() {
}, },
}) })
if (process.env.VITE_DEV_SERVER_URL) { // #298 if (process.env.VITE_DEV_SERVER_URL) { // electron-vite-vue#298
win.loadURL(url) win.loadURL(url)
// Open devTool if the app is not packaged // Open devTool if the app is not packaged
win.webContents.openDevTools() win.webContents.openDevTools()