In Batch reflect subfolder /bin, revert script to old due to error in display
This commit is contained in:
@@ -11,6 +11,7 @@ rem ============================================
|
||||
|
||||
set "APP_NAME=PPTX Image Compressor"
|
||||
set "SELF_DIR=%~dp0"
|
||||
set "BIN_DIR=%SELF_DIR%\bin\"
|
||||
set "SCRIPT=%SELF_DIR%pptx_image_compress.py"
|
||||
|
||||
rem ---- Python Embeddable config (adjust if needed) ----
|
||||
@@ -23,9 +24,9 @@ set "PY_EXE=%PY_DIR%\python.exe"
|
||||
rem ---- CaesiumCLT discovery ----
|
||||
set "CAE_EXE=caesiumclt.exe"
|
||||
|
||||
if exist "%SELF_DIR%%CAE_EXE%" (
|
||||
if exist "%BIN_DIR%%CAE_EXE%" (
|
||||
rem Prefer local caesiumclt.exe near the BAT
|
||||
set "PATH=%SELF_DIR%;%PATH%"
|
||||
set "PATH=%BIN_DIR%;%PATH%"
|
||||
) else (
|
||||
where /q %CAE_EXE%
|
||||
if errorlevel 1 (
|
||||
|
||||
Reference in New Issue
Block a user