refactor: linux auto updates

This commit is contained in:
zhom
2026-04-03 20:17:52 +04:00
parent 48883ddd03
commit 214e558a4c
3 changed files with 49 additions and 6 deletions
+4 -1
View File
@@ -44,7 +44,9 @@ export function AppUpdateToast({
<span className="text-sm font-semibold text-foreground">
{updateReady
? "Update ready, restart to apply"
: "Manual download required"}
: updateInfo.repo_update
? "Update available via package manager"
: "Manual download required"}
</span>
<div className="text-xs text-muted-foreground">
{updateInfo.current_version} {updateInfo.new_version}
@@ -72,6 +74,7 @@ export function AppUpdateToast({
Restart Now
</RippleButton>
) : (
!updateInfo.repo_update &&
updateInfo.manual_update_required && (
<RippleButton
onClick={handleViewRelease}