update
This commit is contained in:
45
APP/spotify-recorder/build.bat
Normal file
45
APP/spotify-recorder/build.bat
Normal file
@@ -0,0 +1,45 @@
|
||||
@echo off
|
||||
chcp 65001 >nul 2>&1
|
||||
title Build - Surovy's Spotify Recorder
|
||||
echo.
|
||||
echo ============================================
|
||||
echo Surovy's Spotify Recorder - Build
|
||||
echo ============================================
|
||||
echo.
|
||||
|
||||
where python >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo FEHLER: Python nicht gefunden!
|
||||
echo Bitte Python 3.10+ installieren.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [1/4] Virtual Environment pruefen...
|
||||
if not exist "venv" (
|
||||
python -m venv venv
|
||||
)
|
||||
call venv\Scripts\activate.bat
|
||||
|
||||
echo [2/4] Abhaengigkeiten installieren...
|
||||
pip install -r requirements.txt -q
|
||||
pip install pyinstaller -q
|
||||
|
||||
echo [3/4] Icon generieren...
|
||||
python create_icon.py
|
||||
|
||||
echo [4/4] EXE erstellen (das dauert 1-2 Minuten)...
|
||||
pyinstaller SurovySpotifyRecorder.spec --noconfirm --clean
|
||||
|
||||
echo.
|
||||
if exist "dist\SurovySpotifyRecorder\Surovy's Spotify Recorder.exe" (
|
||||
echo ERFOLG! Die App liegt in:
|
||||
echo dist\SurovySpotifyRecorder\
|
||||
echo.
|
||||
echo Naechster Schritt: Installer erstellen mit install.iss
|
||||
echo (Inno Setup noetig: https://jrsoftware.org/isinfo.php)
|
||||
) else (
|
||||
echo FEHLER beim Build! Siehe Fehlermeldungen oben.
|
||||
)
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user