Merge pull request #108 from KevinsBobo/main

fix: incorrect debounce call
This commit is contained in:
草鞋没号 authored and GitHub committed 2023-01-30 09:23:00 +08:00
commit 7d92423cca
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ export default defineConfig(({ command }) => {
...(!!process.env.VSCODE_DEBUG ...(!!process.env.VSCODE_DEBUG
? [ ? [
// Will start Electron via VSCode Debug // Will start Electron via VSCode Debug
customStart(() => debounce(() => console.log(/* For `.vscode/.debug.script.mjs` */'[startup] Electron App'))), customStart(debounce(() => console.log(/* For `.vscode/.debug.script.mjs` */'[startup] Electron App'))),
] ]
: []), : []),
// Allow use `import.meta.env.VITE_SOME_KEY` in Electron-Main // Allow use `import.meta.env.VITE_SOME_KEY` in Electron-Main