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>
<string>iOSDiscordPresencePreferences</string>
<key>CFBundleIdentifier</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string>
<string>cafe.kirameki.iosdiscordpresencepreferences</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>

View File

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

View File

@@ -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();
}

View File

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