Update version number to 2.0.0 throughout codebase

- Update version in server.js
- Update version in installer scripts
- Update version in utility modules
- Update version in file creator module
- Ensure consistent 2.0.0 version across codebase

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-03-05 00:18:58 +00:00
parent c8cf11b073
commit 315afea3f4
5 changed files with 860 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ function create_config_files() {
cat > $INSTALL_DIR/package.json << EOF
{
"name": "transmission-rss-manager",
"version": "1.2.0",
"version": "2.0.0",
"description": "Enhanced Transmission RSS Manager with post-processing capabilities",
"main": "server.js",
"scripts": {
@@ -1699,4 +1699,9 @@ class PostProcessor {
}
}
module.exports = PostProcessor;
module.exports = PostProcessor;
EOF
}
echo "Configuration files created."
}

View File

@@ -65,7 +65,7 @@ function update_config_file() {
# Update the config version if needed
local current_version=$(grep -o '"version": "[^"]*"' "$config_file" | cut -d'"' -f4)
if [ -n "$current_version" ]; then
local new_version="1.2.0"
local new_version="2.0.0"
if [ "$current_version" != "$new_version" ]; then
log "INFO" "Updating config version from $current_version to $new_version"
sed -i "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/" "$config_file"