From 79ed758a49c410c16072e36defc0a6e3700c9539 Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:57:31 -0500 Subject: [PATCH 1/7] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d17c79a..0197951 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,9 @@ #!/bin/bash set -e -VERSION="3.0.1" +VERSION="3.1.0" # RetroIPTVGuide installer version +# RetroIPTVGuide Debian/Ubuntu Installer +# License: CC BY-NC-SA 4.0 TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S") LOGFILE="install_${TIMESTAMP}.log" From c2db331afaf9c786818566449157b0e17e9b646e Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:58:14 -0500 Subject: [PATCH 2/7] Update retroiptv_rpi.sh --- retroiptv_rpi.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroiptv_rpi.sh b/retroiptv_rpi.sh index 81a4fdd..8419932 100644 --- a/retroiptv_rpi.sh +++ b/retroiptv_rpi.sh @@ -1,9 +1,11 @@ #!/bin/bash +VERSION="3.1.0" # RetroIPTVGuide Raspberry Pi installer version # RetroIPTVGuide Raspberry Pi Installer (Headless, Pi3/4/5) # Installs to /home/iptv/iptv-server for consistency with Debian/Windows # Logs to /var/log/retroiptvguide/install-YYYYMMDD-HHMMSS.log # License: CC BY-NC-SA 4.0 + # --- Banner --- cat <<'EOF' ░█████████ ░██ ░██████░█████████ ░██████████░██ ░██ ░██████ ░██ ░██ From ba70c41fca8ec7e420a5d3fb60e9a5f89c2e61b0 Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:58:40 -0500 Subject: [PATCH 3/7] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 47e405e..48e36ea 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,4 @@ -APP_VERSION = "v3.0.1" +APP_VERSION = "v3.1.0" APP_RELEASE_DATE = "2025-09-26" from flask import Flask, render_template, request, redirect, url_for, flash From de15baea3f2e40c25aa5d5b9c1d64819475cf1a8 Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:59:04 -0500 Subject: [PATCH 4/7] Update install_windows.ps1 --- install_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_windows.ps1 b/install_windows.ps1 index 2bf2ccf..5e1d837 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -1,4 +1,4 @@ -$VERSION = "3.0.0" +$VERSION = "3.1.0" <# RetroIPTVGuide Windows Installer Clean version with only prerequisite checks and service setup From c77bcc36da880a5e811010ed49a00a4764822667 Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:59:21 -0500 Subject: [PATCH 5/7] Update uninstall.sh --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index dfd6b21..4532900 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,4 +1,4 @@ -VERSION="3.0.0" +VERSION="3.1.0" #!/usr/bin/env bash # RetroIPTVGuide uninstall script # Run with sudo on Linux; run from Administrator shell on Windows From 18bf4cd115c9ee28c16c69e3d6602480cc153399 Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:59:37 -0500 Subject: [PATCH 6/7] Update uninstall_windows.ps1 --- uninstall_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall_windows.ps1 b/uninstall_windows.ps1 index ff49b83..9b97334 100644 --- a/uninstall_windows.ps1 +++ b/uninstall_windows.ps1 @@ -1,4 +1,4 @@ -$VERSION = "3.0.0" +$VERSION = "3.1.0" # RetroIPTVGuide Windows Uninstaller # ================================== From 3d1c4a54340a0f8c73846f639decdcb7ade5c44f Mon Sep 17 00:00:00 2001 From: thehack904 <35552907+thehack904@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:06:55 -0500 Subject: [PATCH 7/7] Update bump_version.py --- bump_version.py | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/bump_version.py b/bump_version.py index d62f28b..83b3f40 100644 --- a/bump_version.py +++ b/bump_version.py @@ -13,12 +13,16 @@ import subprocess from pathlib import Path +# --- FILE TARGETS --- APP_FILE = Path("app.py") CHANGELOG_FILE = Path("CHANGELOG.md") INSTALL_WIN = Path("install_windows.ps1") UNINSTALL_WIN = Path("uninstall_windows.ps1") UNINSTALL_SH = Path("uninstall.sh") +INSTALL_SH = Path("install.sh") +RPI_INSTALL_SH = Path("retroiptv_rpi.sh") +# ------------------------------------------------------- def update_app_py(new_version: str): """Update APP_VERSION in app.py, add if missing""" content = APP_FILE.read_text().splitlines() @@ -80,7 +84,6 @@ def update_script_version(file: Path, new_version: str, is_bash: bool): updated = [] found = False - # Regex for version line if is_bash: pattern = re.compile(r'^\s*VERSION\s*=\s*".*"') replacement = f'VERSION="{new_version}"' @@ -96,7 +99,6 @@ def update_script_version(file: Path, new_version: str, is_bash: bool): updated.append(line) if not found: - # Insert at top updated.insert(0, replacement) print(f"ℹ️ VERSION not found in {file}, added at top") @@ -107,8 +109,14 @@ def git_commit(new_version: str): """Commit changes with git""" try: subprocess.run( - ["git", "add", str(APP_FILE), str(CHANGELOG_FILE), - str(INSTALL_WIN), str(UNINSTALL_WIN), str(UNINSTALL_SH)], + ["git", "add", + str(APP_FILE), + str(CHANGELOG_FILE), + str(INSTALL_WIN), + str(UNINSTALL_WIN), + str(UNINSTALL_SH), + str(INSTALL_SH), + str(RPI_INSTALL_SH)], check=True ) subprocess.run( @@ -130,14 +138,15 @@ def main(): update_app_py(new_version) update_changelog(new_version) - # Update other scripts + # Update all installers/uninstallers update_script_version(INSTALL_WIN, new_version, is_bash=False) update_script_version(UNINSTALL_WIN, new_version, is_bash=False) update_script_version(UNINSTALL_SH, new_version, is_bash=True) + update_script_version(INSTALL_SH, new_version, is_bash=True) + update_script_version(RPI_INSTALL_SH, new_version, is_bash=True) if do_commit: git_commit(new_version) if __name__ == "__main__": main() -