Files
ProjectStructure/organize_textures.bat

23 lines
431 B
Batchfile
Raw Permalink Normal View History

2025-12-19 11:26:50 -07:00
@echo off
setlocal EnableExtensions
set "script_dir=%~dp0"
set "ps1_path=%script_dir%organize_textures.ps1"
if not exist "%ps1_path%" (
echo [ERROR] organize_textures.ps1 not found at %ps1_path%
exit /b 1
)
echo Running texture organizer...
2025-12-19 11:33:04 -07:00
pwsh -NoProfile -ExecutionPolicy Bypass -File "%ps1_path%"
2025-12-19 11:26:50 -07:00
set "rc=%errorlevel%"
if %rc% neq 0 (
echo.
echo Script exited with error code %rc%
)
2025-12-19 11:30:55 -07:00
echo.
pause
2025-12-19 11:26:50 -07:00
exit /b %rc%