chore: comments

This commit is contained in:
草鞋没号 committed 2022-11-06 18:10:36 +08:00
1 parent 2512ad1652
commit ffe6fc651f
1 file changed
+1 -1
+1 -1
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()