Add Deno version check and update UI

Introduces a Deno version checker and updater section to the updater tab, with localized strings in all supported languages. Adds backend functions for fetching the latest Deno version, comparing versions, and upgrading Deno, along with corresponding GUI logic for checking and updating Deno from the interface.
This commit is contained in:
oop7
2025-11-14 18:44:40 +02:00
parent 894f999017
commit 9d5a2460b1
16 changed files with 609 additions and 0 deletions
+17
View File
@@ -486,5 +486,22 @@
"verification_failed": "SHA256 verification failed. The downloaded file may be corrupted or tampered with.",
"setup_failed": "Failed to set up Deno. Some features may not work correctly.",
"setup_error": "Setup Error"
},
"deno_updater": {
"title": "Deno Version Checker & Updater",
"description": "Check your Deno version and update to the latest release.",
"current_version": "Current Version:",
"latest_version": "Latest Version:",
"status_idle": "Click 'Check for Updates' to get started",
"status_checking": "🔄 Checking for updates...",
"status_up_to_date": "✓ Up to date",
"status_update_available": "⚠ Update available",
"status_not_installed": "✗ Not installed",
"check_updates": "Check for Updates",
"update_now": "Update Deno",
"updating": "🔄 Updating Deno...",
"update_success": "✅ Deno has been successfully updated!",
"update_failed": "❌ Update failed: {error}",
"check_failed": "Failed to check for updates. Please check your internet connection."
}
}