Merge pull request #108 from KevinsBobo/main

fix: incorrect debounce call
This commit is contained in:
草鞋没号 2023-01-30 09:23:00 +08:00 committed by GitHub
commit 7d92423cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default defineConfig(({ command }) => {
...(!!process.env.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