feat: Versionsnummer auf 1.0.5 erhöht und Installationsskript aktualisiert

This commit is contained in:
2026-05-09 02:23:02 +02:00
parent 20a1a0e01a
commit b24c08ec5a
4 changed files with 33 additions and 10 deletions

View File

@@ -53,6 +53,17 @@ else
fi
ok "app.py installiert"
# ── Versionsdatei kopieren oder herunterladen ────────────────────────────────
if [ -f "./version.txt" ]; then
info "Lokale version.txt wird verwendet..."
cp version.txt "$INSTALL_DIR/version.txt"
else
info "version.txt wird heruntergeladen..."
curl -sSfL "$REPO_RAW/version.txt" -o "$INSTALL_DIR/version.txt" \
|| fail "Download der version.txt fehlgeschlagen. Prüfe die Internet-Verbindung."
fi
ok "version.txt installiert"
# ── Python-Umgebung ───────────────────────────────────────────────────────────
info "Python venv wird erstellt..."
python3 -m venv "$INSTALL_DIR/venv"