Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C

feat: Vitrine says when the redesign runs without the IPA's app changes

My-Name-Is-Jeffbbb9931b0d75
diff --git a/README.md b/README.md
index 9343a95d..fc60bf37 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,9 @@ to Spotify's own screens with everything else the mod adds on top. Both live in
## Build it
No IPA is distributed. Bring a decrypted **Spotify 9.1.78** IPA; you get an unsigned
-`vitrine-<mod version>.ipa` to sign with SideStore, Feather or any certificate signer.
+`vitrine-<mod version>.ipa` to sign with SideStore, Feather or any certificate signer. The release's `.deb`
+is the tweak alone: injected by hand, it misses the app changes the redesign needs (its glass tab bar) and
+the Live Activity, so build the IPA instead.
### Build with GitHub Actions
diff --git a/docs/tweaks.md b/docs/tweaks.md
index c6adf09e..54b3c7c0 100644
--- a/docs/tweaks.md
+++ b/docs/tweaks.md
@@ -545,8 +545,9 @@ App:
that came over from upstream is left out, so a build without its own has no sheet). The Mod
page offers both again. Environment.m says once per install state, a few seconds in, when
EeveeSpotify is injected too (a dyld image named so, or its settings page's Swift class) or Spotify is not the version the mod is
- made for (SGSpotifyMadeFor), and when a redesign below iOS 26 did not start; the first two stay
- as red rows at the top of Mod Settings. What Chroma left in Spotify's storage when Vitrine
+ made for (SGSpotifyMadeFor), and when a redesign below iOS 26 did not start, and when the redesign runs without the app
+ changes the IPA build makes (UIDesignRequiresCompatibility, as with a .deb injected by hand); all but
+ the third stay as red rows at the top of Mod Settings. What Chroma left in Spotify's storage when Vitrine
replaced it (its Karaoke model and saved lock screen videos, never its listening history or audio
effects) is offered for deleting once, and stays a row there until it goes. Laid out on the simulator by harness/onboarding/
diff --git a/tweak/Sources/App/Onboarding/Environment.m b/tweak/Sources/App/Onboarding/Environment.m
index bd23d6b4..5e4bd6f4 100644
--- a/tweak/Sources/App/Onboarding/Environment.m
+++ b/tweak/Sources/App/Onboarding/Environment.m
@@ -1,5 +1,6 @@
// What about the install itself can work against the mod, said once and kept at the top of Mod Settings
-// while it lasts: EeveeSpotify injected beside it, a Spotify other than the one it is made for, and a
+// while it lasts: EeveeSpotify injected beside it, a Spotify other than the one it is made for, the redesign without
+// the app changes the IPA build makes, and a
// redesign below iOS 26 that did not start (Core/SGUIMode.h), which turned itself off. Also what Chroma, installed
// over the same Spotify before, left behind, offered once for deleting.
#import "Shared/Lyrics/Lyrics.h"
@@ -39,6 +40,18 @@ static SGProblem version(void) {
SGSpotifyMadeFor, SGSpotifyMadeFor]];
}
+// Installed without the app changes Vitrine's IPA build makes (scripts/pipeline.sh: plist/liquid-glass.plist and the
+// Live Activity), as when its .deb is injected by hand: the system keeps its old bars, so the glass tab bar is gone.
+static BOOL withoutAppChanges(void) {
+ id compatibility = [NSBundle.mainBundle objectForInfoDictionaryKey:@"UIDesignRequiresCompatibility"];
+ return SGRedesignAvailable() && SGRedesignedUIStored() && !([compatibility isKindOfClass:NSNumber.class] && ![compatibility boolValue]);
+}
+
+static SGProblem appChanges(void) {
+ return @[@"Installed without Vitrine's app changes",
+ @"The redesign needs changes to the app that only Vitrine's IPA build makes, so the tab bar stays Spotify's own and the Live Activity is missing. Build the IPA with Vitrine instead of injecting its .deb."];
+}
+
static SGProblem fellBack(void) {
return @[@"The redesign did not start",
[NSString stringWithFormat:@"Spotify did not get going with the redesign on iOS %@, so it is back in Legacy and Redesigned UI is off. Mod Settings can turn it on again.",
@@ -108,6 +121,7 @@ static NSArray<SGProblem> *installProblems(void) {
NSMutableArray<SGProblem> *list = [NSMutableArray array];
if (SGEeveeSpotifyInjected()) [list addObject:eevee()];
if (otherVersion()) [list addObject:version()];
+ if (withoutAppChanges()) [list addObject:appChanges()];
return list;
}
@@ -120,6 +134,8 @@ NSArray<SGModRow *> *SGEnvironmentWarningRows(void) {
[rows addObject:SGWarningRow([NSString stringWithFormat:@"Made for Spotify %@", SGSpotifyMadeFor],
[NSString stringWithFormat:@"This is %@. Tap for what that does", SGSpotifyVersion()],
^{ tell(@[version()]); })];
+ if (withoutAppChanges())
+ [rows addObject:SGWarningRow(@"Installed without the app changes", @"Tap for what that does", ^{ tell(@[appChanges()]); })];
if (chromaLeftovers().count)
[rows addObject:SGWarningRow(@"Chroma left files behind", [NSString stringWithFormat:@"%@ Vitrine never uses. Tap to delete", sizeOf(chromaLeftovers())], ^{ offerCleanup(); })];
return rows;
@@ -128,7 +144,7 @@ NSArray<SGModRow *> *SGEnvironmentWarningRows(void) {
// Once per install state: the same EeveeSpotify and the same Spotify version say nothing again, a
// change says what it is now.
static NSString *state(void) {
- return [NSString stringWithFormat:@"eevee %d, spotify %@", SGEeveeSpotifyInjected(), SGSpotifyVersion()];
+ return [NSString stringWithFormat:@"eevee %d, spotify %@, app changes %d", SGEeveeSpotifyInjected(), SGSpotifyVersion(), !withoutAppChanges()];
}
static void whenClear(NSInteger tries, void (^then)(void)) {