Handle Sparkle updater cache and bump version
This commit is contained in:
parent
96941c6dbc
commit
e743498fe1
6 changed files with 198 additions and 73 deletions
|
|
@ -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 couldn’t download the update feed. Check your connection and try again."
|
||||
case 1000, 1002:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue