You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first requirement we support is arm64 which allows updates to mark themselves as Apple silicon only.
The message that shows up when users check for updates tells them their Mac is too old and a newer Apple silicon Mac is required for new updates. This introduces a new localizable string.
This requirement is also inferred if the minimum system version is >= 27.0
generate_appcast is also updated to handle a new branch for hardwareRequirements element, and for automatically populating it if needed.
Fixes#2796
Copy file name to clipboardExpand all lines: Sparkle/Base.lproj/Sparkle.strings
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@
10
10
/* No comment provided by engineer. */
11
11
"%1$@ %2$@ is available but your macOS version is too old to install it. At least macOS %3$@ is required." = "%1$@ %2$@ is available but your macOS version is too old to install it. At least macOS %3$@ is required.";
12
12
13
+
/* Mac is too old and update requires Apple silicon Mac */
14
+
"%1$@ %2$@ is available but this update requires a new Apple silicon Mac." = "%1$@ %2$@ is available but this update requires a new Apple silicon Mac.";
15
+
13
16
/* No comment provided by engineer. */
14
17
"%1$@ can’t be updated if it’s running from the location it was downloaded to." = "%1$@ can’t be updated if it’s running from the location it was downloaded to.";
15
18
@@ -193,6 +196,9 @@
193
196
/* No comment provided by engineer. */
194
197
"Your macOS version is too old" = "Your macOS version is too old";
195
198
199
+
/* Mac is too old and update requires newer hardware */
200
+
"Your Mac is too old" = "Your Mac is too old";
201
+
196
202
/* Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates. */
Copy file name to clipboardExpand all lines: Sparkle/SPUNoUpdateFoundInfo.m
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@
39
39
case SPUNoUpdateFoundReasonOnNewerThanLatestVersion:
40
40
case SPUNoUpdateFoundReasonSystemIsTooOld:
41
41
case SPUNoUpdateFoundReasonSystemIsTooNew:
42
+
case SPUNoUpdateFoundReasonHardwareDoesNotSupportARM64:
42
43
assert(latestAppcastItem != nil);
43
44
44
45
hostDisplayVersion = host.displayVersion;
@@ -68,6 +69,9 @@
68
69
case SPUNoUpdateFoundReasonSystemIsTooNew:
69
70
recoverySuggestion = [NSStringstringWithFormat:SULocalizedStringFromTableInBundle(@"%1$@%2$@ is available but your macOS version is too new for this update. This update only supports up to macOS %3$@.", SPARKLE_TABLE, sparkleBundle, nil), host.name, latestAppcastItemDisplayVersion, latestAppcastItem.maximumSystemVersion];
70
71
break;
72
+
case SPUNoUpdateFoundReasonHardwareDoesNotSupportARM64:
73
+
recoverySuggestion = [NSStringstringWithFormat:SULocalizedStringFromTableInBundle(@"%1$@%2$@ is available but this update requires a new Apple silicon Mac.", SPARKLE_TABLE, sparkleBundle, nil), host.name, latestAppcastItemDisplayVersion];
0 commit comments