ADM-Purchasing-Tools / app /launch_windows.bat
abdulsalam2121
Add automation bot with Flask and Playwright
5b29309
Raw
History Blame Contribute Delete
857 Bytes
@echo off
REM Simple launcher for dist\ADM_PURCHASING_TOOLS.exe that prompts for required CLI args
SETLOCAL ENABLEDELAYEDEXPANSION
if not exist dist\ADM_PURCHASING_TOOLS.exe (
echo ERROR: dist\ADM_PURCHASING_TOOLS.exe not found. Run build_windows.bat first.
pause
exit /b 1
)
echo === ADM PURCHASING TOOLS Launcher ===
set "studio_url="
set /p "studio_url=Enter studio URL (required): "
if "%studio_url%"=="" (
echo Studio URL is required. Aborting.
pause
exit /b 1
)
set "min_price=6"
set /p "min_price=Enter minimum price (default 6): "
if "%min_price%"=="" set "min_price=6"
echo Starting ADM PURCHASING TOOLS with:
echo URL: %studio_url%
echo Min price: %min_price%
echo.
dist\ADM_PURCHASING_TOOLS.exe --studio-url "%studio_url%" --min-price %min_price%
echo.
echo ADM PURCHASING TOOLS finished. Press any key to close.
pause >nul