From bd55ef8613c6bd344a8699116ea250ded6f420b6 Mon Sep 17 00:00:00 2001 From: MasterDraco Date: Wed, 5 Mar 2025 00:31:42 +0000 Subject: [PATCH] Update version to 2.0.1 and make version reading dynamic --- README.md | 9 ++++++--- main-installer.sh | 3 ++- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1d3ac09..bd3373e 100755 --- a/README.md +++ b/README.md @@ -1,18 +1,21 @@ -# Transmission RSS Manager v2.0.0 +# Transmission RSS Manager v2.0.1 A comprehensive web-based tool to automate and manage your Transmission torrent downloads with RSS feed integration, intelligent media organization, and enhanced security features. Now with automatic updates and easy installation! ## Changelog +### v2.0.1 (2025-03-05) +- **New**: Automatic detection of existing installations for seamless updates +- **Improved**: Enhanced update process that preserves existing configurations +- **Improved**: Installer now dynamically reads version from package.json + ### v2.0.0 (2025-03-05) - **Major**: Completely redesigned installation system using git - **New**: One-click update feature with version checking - **New**: Automatic Transmission detection and installation - **New**: System status dashboard with update notifications -- **New**: Automatic detection of existing installations for seamless updates - **New**: About page with developer information - **Improved**: Better error handling for Transmission connection -- **Improved**: Enhanced update process that preserves existing configurations - **Fixed**: Various UI bugs and responsiveness issues ### v1.2.0 (2025-02-15) diff --git a/main-installer.sh b/main-installer.sh index c1da3bc..c11d89b 100755 --- a/main-installer.sh +++ b/main-installer.sh @@ -15,7 +15,8 @@ NC='\033[0m' # No Color # Print header echo -e "${BOLD}==================================================${NC}" echo -e "${BOLD} Transmission RSS Manager Installer ${NC}" -echo -e "${BOLD} Version 2.0.0 - Git Edition ${NC}" +VERSION=$(grep -oP '"version": "\K[^"]+' "${SCRIPT_DIR}/package.json" 2>/dev/null || echo "Unknown") +echo -e "${BOLD} Version ${VERSION} - Git Edition ${NC}" echo -e "${BOLD}==================================================${NC}" echo diff --git a/package.json b/package.json index fa22f2a..7709cf1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "transmission-rss-manager", - "version": "2.0.0", + "version": "2.0.1", "description": "A comprehensive web-based tool to automate and manage your Transmission torrent downloads with RSS feed integration and intelligent media organization", "main": "server.js", "scripts": {