Changed package id

This commit is contained in:
2022-07-19 23:27:53 -07:00
parent 2fec525452
commit 2cc5dbdbaa
4 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>iOSDiscordPresencePreferences</string> <string>iOSDiscordPresencePreferences</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string> <string>cafe.kirameki.iosdiscordpresencepreferences</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>

View File

@@ -26,19 +26,19 @@
<key>default</key> <key>default</key>
<false/> <false/>
<key>defaults</key> <key>defaults</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string> <string>cafe.kirameki.iosdiscordpresencepreferences</string>
<key>key</key> <key>key</key>
<string>isEnabled</string> <string>isEnabled</string>
<key>label</key> <key>label</key>
<string>Enabled</string> <string>Enabled</string>
<key>PostNotification</key> <key>PostNotification</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged</string> <string>cafe.kirameki.iosdiscordpresencepreferences/PreferencesChanged</string>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSecureEditTextCell</string> <string>PSSecureEditTextCell</string>
<key>defaults</key> <key>defaults</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string> <string>cafe.kirameki.iosdiscordpresencepreferences</string>
<key>key</key> <key>key</key>
<string>discordToken</string> <string>discordToken</string>
<key>label</key> <key>label</key>
@@ -46,7 +46,7 @@
<key>placeholder</key> <key>placeholder</key>
<string>Put your discord token here</string> <string>Put your discord token here</string>
<key>PostNotification</key> <key>PostNotification</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged</string> <string>cafe.kirameki.iosdiscordpresencepreferences/PreferencesChanged</string>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>

View File

@@ -273,7 +273,7 @@ static void stopDiscordUpdatePresenceTimer() {
static void loadPreferences() 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]; NSMutableDictionary *preferences = [[NSMutableDictionary alloc] initWithContentsOfFile: preferencesPath];
if(preferences) if(preferences)
{ {
@@ -288,7 +288,7 @@ static void loadPreferences()
{ {
requestAllowance = requestRate; requestAllowance = requestRate;
requestLastCheck = CACurrentMediaTime(); 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(); loadPreferences();
initDiscordUpdatePresenceTimer(); initDiscordUpdatePresenceTimer();
} }

View File

@@ -1,4 +1,4 @@
Package: pink.kirameki.yuzu.iosdiscordpresence Package: cafe.kirameki.iosdiscordpresence
Name: iOS-DiscordPresence Name: iOS-DiscordPresence
Version: 0.0.1 Version: 0.0.1
Architecture: iphoneos-arm Architecture: iphoneos-arm