feat: Add version update checker with GitHub release support

This commit is contained in:
yeongpin
2025-03-03 11:09:11 +08:00
parent 93046d7f03
commit 813dd4431e
5 changed files with 60 additions and 3 deletions

View File

@@ -233,5 +233,13 @@
"directory_removed": "Directory Removed",
"creating_block_file": "Creating Block File",
"block_file_created": "Block File Created"
},
"updater": {
"checking": "Checking for updates...",
"new_version_available": "New version available! (Current: {current}, Latest: {latest})",
"updating": "Updating to the latest version. The program will restart automatically.",
"up_to_date": "You are using the latest version.",
"check_failed": "Failed to check for updates: {error}",
"continue_anyway": "Continuing with current version..."
}
}