fix incorrect debounce call

This commit is contained in:
KevinsBobo 2023-01-29 20:11:02 +08:00
parent 57da1121e7
commit eaa77855b2
1 changed files with 1 additions and 1 deletions

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