mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-10 18:36:17 +00:00
* chore: Update TypeScript configuration and add @types/node as a dev dependency * feat: Add unified cross-platform setup script for easier configuration and installation * docs: Revise README for improved setup instructions and clarity * feat: Enhance setup scripts with improved prerequisite checks and user prompts * feat: Refactor setup scripts and enhance browser handling with automatic Playwright installation
22 lines
513 B
Batchfile
22 lines
513 B
Batchfile
@echo off
|
|
setlocal
|
|
REM Lightweight wrapper to run setup.mjs without prereq detection (Windows)
|
|
REM Assumes Node is already installed and available in PATH.
|
|
|
|
set SCRIPT_DIR=%~dp0
|
|
set SETUP_FILE=%SCRIPT_DIR%setup.mjs
|
|
|
|
if not exist "%SETUP_FILE%" (
|
|
echo [ERROR] setup.mjs not found next to this batch file.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Running setup script...
|
|
node "%SETUP_FILE%"
|
|
set EXITCODE=%ERRORLEVEL%
|
|
echo.
|
|
echo Setup finished with exit code %EXITCODE%.
|
|
echo Press Enter to close.
|
|
pause >NUL
|
|
exit /b %EXITCODE% |