From 1c9c98e2f695ae291d91bd29a62038a74982cc4c Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 19 Jan 2026 21:25:28 -0800 Subject: [PATCH] Show download script to update --- updates/updates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updates/updates.go b/updates/updates.go index 8d7de5e..21666ac 100644 --- a/updates/updates.go +++ b/updates/updates.go @@ -119,7 +119,7 @@ func CheckForUpdate(owner, repo, currentVersion string) error { // Check if update is available if currentVer.isNewer(latestVer) { - printUpdateBanner(currentVer.String(), latestVer.String(), release.HTMLURL) + printUpdateBanner(currentVer.String(), latestVer.String(), "curl -fsSL https://static.pangolin.net/get-newt.sh | bash") } return nil @@ -145,7 +145,7 @@ func printUpdateBanner(currentVersion, latestVersion, releaseURL string) { "║ A newer version is available! Please update to get the" + padRight("", contentWidth-56) + "║", "║ latest features, bug fixes, and security improvements." + padRight("", contentWidth-56) + "║", emptyLine, - "║ Release URL: " + padRight(releaseURL, contentWidth-15) + "║", + "║ Update: " + padRight(releaseURL, contentWidth-10) + "║", emptyLine, borderBot, }