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:
@@ -503,5 +503,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."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user