- Add find_python.bat shared helper to auto-detect conda env (6 locations) - All bat scripts now resolve paths relative to script location (%~dp0) - Fixes crash when launching from Start Menu / pinned shortcut (cwd=System32) - Fixes hardcoded username path in run_asset_extractor.bat
14 lines
254 B
Batchfile
14 lines
254 B
Batchfile
@echo off
|
|
setlocal
|
|
set "BOTTY_DIR=%~dp0"
|
|
cd /d "%BOTTY_DIR%"
|
|
|
|
call "%BOTTY_DIR%find_python.bat"
|
|
|
|
echo === D2R Quick Capture ===
|
|
echo Run this, D2R must be visible
|
|
echo Press ENTER when D2R is ready...
|
|
pause >nul
|
|
|
|
%PYTHON% "%BOTTY_DIR%asset_extractor.py"
|