fix: electron dev

This commit is contained in:
DIYgod
2025-02-09 14:01:51 +08:00
parent 8409ab1899
commit bb0db13dc1
3 changed files with 369 additions and 334 deletions
+2
View File
@@ -46,6 +46,8 @@ export function createWindow(
sandbox: false,
webviewTag: true,
webSecurity: !isDev,
nodeIntegration: true,
contextIsolation: false,
},
}
+2
View File
@@ -82,6 +82,7 @@
"@vitejs/plugin-react": "^4.3.4",
"async-es": "^3.2.6",
"autoprefixer": "10.4.20",
"bufferutil": "^4.0.9",
"cross-env": "7.0.3",
"cssnano": "7.0.6",
"dotenv": "16.4.7",
@@ -122,6 +123,7 @@
"turbo": "2.4.0",
"typescript": "5.7.3",
"unplugin-ast": "^0.13.1",
"utf-8-validate": "^6.0.5",
"vite": "6.0.11",
"vite-bundle-analyzer": "0.16.1",
"vite-plugin-mkcert": "1.17.6",
+365 -334
View File
File diff suppressed because it is too large Load Diff