zhuangyunsheng преди 6 месеца
родител
ревизия
ba0b83b7a0
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      src/main/index.js

+ 0 - 3
src/main/index.js

@@ -28,9 +28,6 @@ function createWindow() {
         shell.openExternal(details.url)
         return { action: "deny" }
     })
-    mainWindow.webContents.on('did-finish-load', () => {
-        mainWindow.webContents.openDevTools();
-    });
 
     // HMR for renderer base on electron-vite cli.
     // Load the remote URL for development or the local html file for production.