improved generate_credits.bat

This commit is contained in:
Sak32009 2024-08-25 11:36:17 +02:00
parent c302fa2638
commit a75ba5c9bd

View File

@ -2,7 +2,8 @@
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
cd /d "%~dp0" cd /d "%~dp0"
set "CREDITS_FILE=CREDITS.md" set "ROOT=%cd%"
set "CREDITS_FILE=%ROOT%\CREDITS.md"
if exist "%CREDITS_FILE%" ( if exist "%CREDITS_FILE%" (
del /f /s /q "%CREDITS_FILE%" del /f /s /q "%CREDITS_FILE%"