Remove auto-pause from converter; add build_exe.bat for monthly EXE rebuild

This commit is contained in:
buiaca 2026-08-12 13:34:38 +02:00
parent aef77c98af
commit 27039ef7ca
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
@echo off
REM build_exe.bat - Automatisches Update der schwifty-Datenbank und Erstellung der EXE
REM Nutzung: build_exe.bat
setlocal
REM Virtuelle Umgebung aktivieren
echo Aktiviere virtuelle Umgebung...
call venv\Scripts\activate.bat
REM Python-Pfade aktualisieren und PyInstaller installieren
echo Aktualisiere schwifty-Datenbank...
python -m pip install --upgrade schwifty
python -m pip install --upgrade pyinstaller
REM Neue EXE erstellen
echo Erstelle iban_csv_converter.exe...
python -m PyInstaller --onefile --noconache --name iban_csv_converter.exe iban_csv_converter.py
REM Ergebnis kopieren
if exist dist\iban_csv_converter.exe (
echo EXE erfolgreich erstellt: dist\iban_csv_converter.exe
) else (
echo FEHLER: EXE wurde nicht erstellt!
exit /b 1
)
pause