Commit Graph

669 Commits

Author SHA1 Message Date
Riley Testut
ec8ef743a3 [AltWidget] Waits until the following day to reload timeline if an error occurs 2021-10-04 18:41:50 -07:00
Riley Testut
44ec11f54f [AltWidget] Fixes app name appearing very small on iOS 15
Also improves layout on smaller devices, such as the iPhone 12/13 mini.
2021-10-04 17:59:41 -07:00
Riley Testut
8f404ab594 [AltWidget] Fixes incorrect days until expiration
Previously, we used Date() to calculate the number of days until apps expired. This meant all calculations were based on when the widget extension was run — not when it was actually displayed. As a result, this made it seem like the widget never updated since all timeline entries were calculated from the same date.

Now, we instead calculate remaining days from AppEntry.date. This means the widget’s remaining days are relative to the current timeline entry’s date, matching what is displayed in AltStore.
2021-10-04 17:51:14 -07:00
Riley Testut
98be5fafdf Correctly handles RefreshAllIntent exceeding time limit
• Responds with “inProgress” status if exceeding time limit
• Displays native AltStore notification only if time limit is exceeded
2021-10-04 16:27:00 -07:00
Riley Testut
47065eb2aa Embed ALTServerID in Info.plist if app uses AltKit 2021-10-04 16:06:32 -07:00
Riley Testut
00488bdde0 Fixes invalid code signature on iOS 15.1 2021-10-04 16:02:20 -07:00
Riley Testut
9d9c803d56 [Apps] Updates AltStore beta to 1.5b 2021-10-04 16:01:22 -07:00
Riley Testut
7e089359d5 [AltServer] Fixes potential crash due to race condition when device is disconnected
Simultaneously updating WiredConnectionHandler.notificationConnections can cause a crash, so we enforce serial access to notificationConnections via DispatchQueue.
2021-10-04 15:57:23 -07:00
Riley Testut
971199114b Prefers revoking existing AltStore certificate (if it exists) 2021-10-04 15:51:58 -07:00
Riley Testut
ac491b6fd1 [AltServer] Prefers revoking existing AltStore certificate (if it exists) 2021-10-04 15:51:16 -07:00
Riley Testut
c2602e05d1 [AltServer] Fixes duplicate "Revoke Development Certificate" alerts 2021-10-04 15:43:31 -07:00
Riley Testut
a685f8257b [AltServer] Fixes not ignoring InstallationError.cancelled when installing app
Allows InstallationError to be bridged back from NSError, which lets us match InstallationError against NSError's via pattern matching.
2021-10-04 15:36:16 -07:00
Riley Testut
578bee34e0 Changes "free developer accounts" to "non-developer Apple IDs" in app copy
Will hopefully clarify that the 3 active app limitation is due to using a non-developer Apple ID, and not because they haven't donated via Patreon.
2021-10-04 15:29:10 -07:00
Riley Testut
389e56e8b9 Improves ALTServerError.maximumFreeAppLimitReached error message
AltServer once again displays the list of installed sideloaded apps in error alert.
2021-10-04 15:21:57 -07:00
Riley Testut
f1bed333ba [AltServer] Fixes fetching anisette data on macOS 10.14 Mojave
AltXPC does not work on Mojave, so only attempt it on macOS 10.15 Catalina or later.
2021-10-04 13:21:24 -07:00
Riley Testut
dc7b8caae2 Updates app version to 1.5b 2021-09-15 14:31:36 -07:00
Riley Testut
93af5ec8e5 Cancels AltBackup installation if error has already been thrown 2021-09-15 14:29:37 -07:00
Riley Testut
7040d6de42 Asks user to deactivate an app when installing app without available active slot
When attempting to install a new app without any active slots available, AltStore will now present an alert asking the user to choose an app to deactivate in order to continue installation — just like when activating an app without an active slot.
2021-09-15 14:27:16 -07:00
Riley Testut
80c6a062f1 Improves error message when authenticating with invalid anisette data
A common reason anisette data is invalid is because the host computer's date & time settings are off, so now we ask the user to check their computer's date & time in the localized recovery suggestion.
2021-09-13 15:27:40 -07:00
Riley Testut
a490cf0ad2 [AltServer] Fixes incorrectly parsing thread state as decimal value when enabling JIT
Thread state is hexadecimal, so we now explicitly use NSScanner to parse string as base-16.
2021-09-13 14:15:52 -07:00
Cameron Bates
7563896f5c [AltServer] Include ALTDeviceID on install of apps (#822)
* Add ALTDeviceID to plist file on install
* Only add if deviceid key is present

Co-authored-by: Cameron Bates <cameronbates@camerons-mbp-2.lan>
2021-09-13 14:11:53 -07:00
Riley Testut
3fe6b06387 Adds "Enable JIT" context menu action for active apps
Allows users to manually enable JIT for apps that don't explicitly support AltKit.
2021-09-03 13:57:15 -05:00
Riley Testut
c8be356102 [AltServer] Supports processName in EnableUnsignedCodeExecutionRequest
Process names will be used as a fallback if the processID cannot be determined, such as when enabling JIT for another app from within AltStore.
2021-09-02 16:03:21 -05:00
Riley Testut
bd527defa5 Adds "Open" context menu action for active apps
Launches the sideloaded app by opening the app-specific URL scheme embedded by AltStore during resigning.
2021-09-02 15:52:59 -05:00
Riley Testut
967ba86e96 Fixes AppViewController navigation bar + tab bar appearance on iOS 15 2021-09-02 14:49:51 -05:00
Riley Testut
1ff3395cfb Replaces ALTDeviceID Info.plist entry (if it exists) with correct UDID when resigning apps
Allows apps to use AltKit, which needs to know the current device's UDID to communicate with AltServer.
2021-09-01 16:48:31 -05:00
Riley Testut
8cfe693f27 [AltServer] Updates app version to 1.5b7 2021-09-01 12:34:36 -05:00
Riley Testut
6347ae13e7 [AltServer] Updates AltPlugin to 1.6 2021-09-01 12:28:53 -05:00
Riley Testut
742756e99b [AltPlugin] Updates version to 1.6 2021-09-01 12:06:36 -05:00
Riley Testut
bb59e5a63a [AltPlugin] Supports macOS 12.0 Monterey beta 6 2021-09-01 12:05:18 -05:00
Riley Testut
a61910dfc5 [AltServer] Migrates LaunchAtLogin dependency from Carthage to SwiftPM
Fixes compiling AltServer on ARM Macs.
2021-09-01 11:58:33 -05:00
Riley Testut
fa31505244 [Pods] Updates AppCenter to 4.2.0
Allows compiling AltStore for iOS simulator from an ARM Mac.
2021-07-21 13:20:14 -07:00
Riley Testut
96c0f3975b [Apps] Updates AltStore to 1.4.6 2021-07-20 14:04:20 -07:00
Riley Testut
4ad521bd69 Updates app version to 1.4.6 2021-07-20 14:04:11 -07:00
Riley Testut
ce46010ec5 [Apps] Updates AltStore beta to 1.4.6b 2021-07-07 14:04:11 -07:00
Riley Testut
da72990a6d [AltServer] Updates app version to 1.5b6 2021-07-07 13:56:55 -07:00
Riley Testut
65e7037e41 [AltServer] Fixes enabling JIT on iOS 15 beta 2
vAttachName sporadically fails on iOS 15 beta 2, so we now use vAttachOrWait and manually detect whether the app is already running or not.
2021-07-07 13:54:41 -07:00
Riley Testut
fa124acb1e [AltServer] Fixes isDeveloperDiskImageMountedForDevice()
Previously, we returned YES when there was no error. Instead, we should return YES only when there’s no error _and_ the developer disk image is installed.
2021-06-24 12:56:44 -07:00
Riley Testut
955134985e Updates app version to 1.4.6b 2021-06-14 12:31:40 -07:00
Riley Testut
7779d10a9d [AltServer] Updates app version to 1.5b5
Skipping 1.5b4 to align version number with Windows AltServer (which did have a 1.5b4)
2021-06-14 12:20:39 -07:00
Riley Testut
f7b9cd4032 [AltServer] Updates AltPlugin to 1.5 2021-06-14 12:10:35 -07:00
Riley Testut
a5486004ed [AltPlugin] Updates version to 1.5 2021-06-14 12:03:05 -07:00
Riley Testut
56cfdbdcd2 [AltPlugin] Supports macOS 12.0 beta 1 2021-06-14 12:01:37 -07:00
Riley Testut
35433f0053 Fixes “unsupported code signature version” error on iOS 15 2021-06-11 11:36:30 -07:00
Riley Testut
f0a7d39a3e [AltServer] Updates AltPlugin to 1.4 2021-06-04 15:07:06 -07:00
Riley Testut
3afebc0325 [AltPlugin] Updates version to 1.4 2021-06-04 15:07:02 -07:00
Riley Testut
ccda9386e0 [AltPlugin] Supports macOS 11.4 2021-06-04 15:06:58 -07:00
Riley Testut
40e4ccd270 [AltServer] Updates AltStore download URLs to use Cloudflare CDN
Workaround for Xfinity blocking connections to f000.backblazeb2.com for some users.
2021-06-04 15:06:53 -07:00
Riley Testut
a86f3264fb [AltServer] Updates LaunchAtLogin dependency 2021-06-04 15:06:38 -07:00
Riley Testut
590cf32006 [AltServer] Improves error messages 2021-06-04 14:57:32 -07:00