This commit is contained in:
Chris Tate
2026-01-11 04:30:01 -06:00
parent e36d03c8d9
commit 87f11b4190
4 changed files with 11 additions and 29 deletions
-3
View File
@@ -1,8 +1,5 @@
@echo off
setlocal
set "SCRIPT_DIR=%~dp0"
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set "ARCH=x64") else if "%PROCESSOR_ARCHITECTURE%"=="ARM64" (set "ARCH=arm64") else (set "ARCH=x64")
set "BINARY=%SCRIPT_DIR%agent-browser-win32-%ARCH%.exe"
if exist "%BINARY%" ("%BINARY%" %* & exit /b %errorlevel%)
node "%SCRIPT_DIR%..\dist\index.js" %*
exit /b %errorlevel%