From 2cc5dbdbaaf6be8447d584fa5bed682c20f4090e Mon Sep 17 00:00:00 2001 From: Yuzu Date: Tue, 19 Jul 2022 23:27:53 -0700 Subject: [PATCH] Changed package id --- Preferences/Resources/Info.plist | 2 +- Preferences/Resources/Root.plist | 8 ++++---- Tweak/Tweak.x | 4 ++-- control | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Preferences/Resources/Info.plist b/Preferences/Resources/Info.plist index 5903c08..c798606 100644 --- a/Preferences/Resources/Info.plist +++ b/Preferences/Resources/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable iOSDiscordPresencePreferences CFBundleIdentifier - pink.kirameki.yuzu.iosdiscordpresencepreferences + cafe.kirameki.iosdiscordpresencepreferences CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType diff --git a/Preferences/Resources/Root.plist b/Preferences/Resources/Root.plist index cd886ba..0d14873 100644 --- a/Preferences/Resources/Root.plist +++ b/Preferences/Resources/Root.plist @@ -26,19 +26,19 @@ default defaults - pink.kirameki.yuzu.iosdiscordpresencepreferences + cafe.kirameki.iosdiscordpresencepreferences key isEnabled label Enabled PostNotification - pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged + cafe.kirameki.iosdiscordpresencepreferences/PreferencesChanged cell PSSecureEditTextCell defaults - pink.kirameki.yuzu.iosdiscordpresencepreferences + cafe.kirameki.iosdiscordpresencepreferences key discordToken label @@ -46,7 +46,7 @@ placeholder Put your discord token here PostNotification - pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged + cafe.kirameki.iosdiscordpresencepreferences/PreferencesChanged cell diff --git a/Tweak/Tweak.x b/Tweak/Tweak.x index ea21b48..1a67cde 100644 --- a/Tweak/Tweak.x +++ b/Tweak/Tweak.x @@ -273,7 +273,7 @@ static void stopDiscordUpdatePresenceTimer() { static void loadPreferences() { - NSString *preferencesPath = @"/var/mobile/Library/Preferences/pink.kirameki.yuzu.iosdiscordpresencepreferences.plist"; + NSString *preferencesPath = @"/var/mobile/Library/Preferences/cafe.kirameki.iosdiscordpresencepreferences.plist"; NSMutableDictionary *preferences = [[NSMutableDictionary alloc] initWithContentsOfFile: preferencesPath]; if(preferences) { @@ -288,7 +288,7 @@ static void loadPreferences() { requestAllowance = requestRate; requestLastCheck = CACurrentMediaTime(); - CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), NULL, (CFNotificationCallback)loadPreferences, CFSTR("pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged"), NULL, CFNotificationSuspensionBehaviorCoalesce); + CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), NULL, (CFNotificationCallback)loadPreferences, CFSTR("cafe.kirameki.iosdiscordpresencepreferences/PreferencesChanged"), NULL, CFNotificationSuspensionBehaviorCoalesce); loadPreferences(); initDiscordUpdatePresenceTimer(); } \ No newline at end of file diff --git a/control b/control index 8f16267..3f73e0c 100644 --- a/control +++ b/control @@ -1,4 +1,4 @@ -Package: pink.kirameki.yuzu.iosdiscordpresence +Package: cafe.kirameki.iosdiscordpresence Name: iOS-DiscordPresence Version: 0.0.1 Architecture: iphoneos-arm