@echo off
cd /d "%~dp0"
title TONGA - Le Wand + b-Vibe - Dry Run
cls
echo TONGA - LE WAND + b-VIBE DRIVE ASSETS - DRY RUN
echo Er wordt NIETS gewijzigd in R2.
echo.
echo Stap 1/2: Drive downloads automatisch voorbereiden...
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0Prepare-Sources.ps1"
if errorlevel 1 (
  echo.
  echo De bronbestanden zijn nog niet compleet.
  echo Start 00_START_HERE.bat, download beide complete Drive folders,
  echo en start daarna 01_DRY_RUN.bat opnieuw.
  echo Je hoeft ZIP-bestanden NIET uit te pakken.
  pause
  exit /b 1
)
echo.
echo Stap 2/2: R2 dry-run...
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0Backfill-DriveAssets.ps1" -Mode DryRun
set RC=%ERRORLEVEL%
echo.
echo PowerShell exit code: %RC%
pause
exit /b %RC%
