Handle Sparkle updater cache and bump version

This commit is contained in:
Lawrence Chen 2026-01-28 23:30:59 -08:00
parent 96941c6dbc
commit e743498fe1
6 changed files with 198 additions and 73 deletions

View file

@ -192,6 +192,8 @@ class UpdateViewModel: ObservableObject {
}
if nsError.domain == SUSparkleErrorDomain {
switch nsError.code {
case 4005:
return "Updater Permission Error"
case 2001:
return "Couldn't Download Update"
case 1000, 1002:
@ -237,6 +239,8 @@ class UpdateViewModel: ObservableObject {
}
if nsError.domain == SUSparkleErrorDomain {
switch nsError.code {
case 4005:
return "macOS blocked cmuxterm from updating apps. Open System Settings → Privacy & Security → App Management, allow cmuxterm, then try again."
case 2001:
return "cmuxterm couldnt download the update feed. Check your connection and try again."
case 1000, 1002: