RD_CONF für SVG zu bearbeiten
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
call setenv.bat
|
||||
setlocal
|
||||
|
||||
|
||||
:: Check if Python is available
|
||||
where python >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error: Python is not found in your PATH
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: Run the Python script
|
||||
echo Running SVG optimizer...
|
||||
python %RD_CONF_LIB%\3_svg_optimizer-Step1.py %*
|
||||
|
||||
:: Check if Python script succeeded
|
||||
if %ERRORLEVEL% equ 0 (
|
||||
echo SVG optimization completed successfully
|
||||
) else (
|
||||
echo SVG optimization failed with error %ERRORLEVEL%
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user