|
@@ -63,11 +63,11 @@ let jar_time = null;
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+let serveUrl = "./resources/exe"
|
|
|
+let serveUrlJar = '\\resources\\exe'
|
|
|
|
|
|
-let serveUrl = "./exe"
|
|
|
-let serveUrlJar = '\\exe'
|
|
|
+
|
|
|
+
|
|
|
|
|
|
* Set `__static` path to static files in production
|
|
|
* https:
|
|
@@ -140,7 +140,7 @@ function createWindow() {
|
|
|
|
|
|
mainWindow.loadURL(winURL)
|
|
|
mainWindow.setMenu(null)
|
|
|
- mainWindow.webContents.openDevTools();
|
|
|
+
|
|
|
mainWindow.on('closed', () => {
|
|
|
mainWindow = null
|
|
|
})
|