Neue Sturktur
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
@echo off
|
||||
setlocal EnableExtensions EnableDelayedExpansion
|
||||
|
||||
@@ -29,7 +30,7 @@ if exist "%SELF_DIR%%CAE_EXE%" (
|
||||
where /q %CAE_EXE%
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] ^> 'caesiumclt.exe' nicht gefunden.
|
||||
echo Lege 'caesiumclt.exe' neben diese BAT ^(empfohlen^)
|
||||
echo Lege 'caesiumclt.exe' neben diese BAT (empfohlen)
|
||||
echo oder sorge dafuer, dass es im PATH liegt.
|
||||
exit /b 2
|
||||
)
|
||||
@@ -89,7 +90,7 @@ if not defined PY_CMD (
|
||||
exit /b 5
|
||||
)
|
||||
|
||||
rem ---- Optional: 'import site' im Embeddable aktivieren (freundlich fuer spaetere Erweiterungen) ----
|
||||
rem ---- Optional: 'import site' im Embeddable aktivieren ----
|
||||
if exist "%PY_DIR%" (
|
||||
for /f "delims=" %%F in ('dir /b "%PY_DIR%\python3*.pth" 2^>nul') do (
|
||||
set "PTH_FILE=%PY_DIR%\%%F"
|
||||
@@ -111,7 +112,6 @@ echo.
|
||||
echo [%APP_NAME%] Starte ...
|
||||
echo Command: "%PY_CMD%" "%SCRIPT%" %*
|
||||
echo.
|
||||
|
||||
"%PY_CMD%" "%SCRIPT%" %*
|
||||
set "RC=%ERRORLEVEL%"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user