From e087d7347b4033d2bfe1018070324095986e00e3 Mon Sep 17 00:00:00 2001 From: TYt50 <106930118+TYt50@users.noreply.github.com> Date: Sun, 1 Feb 2026 15:24:51 +0800 Subject: [PATCH] Final check and push --- start.vbs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/start.vbs b/start.vbs index f1ebf60..8d4dd1c 100644 --- a/start.vbs +++ b/start.vbs @@ -1,3 +1,4 @@ Set WshShell = CreateObject("WScript.Shell") -' Run the application hidden without a terminal window -WshShell.Run ".\node_modules\electron\dist\electron.exe .", 0, False +' Use cmd /c to run electron.cmd which is what npm start uses +' This ensures all environment variables and paths are correctly set +WshShell.Run "cmd /c .\node_modules\.bin\electron.cmd .", 0, False