Added Preferences

This commit is contained in:
2022-05-09 07:11:28 -07:00
parent 7a43aeb55a
commit ce31f4adaf
12 changed files with 202 additions and 12 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>iOSDiscordPresencePreferences</string>
<key>CFBundleIdentifier</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSPrincipalClass</key>
<string>iOSDiscordPresenceRootListController</string>
</dict>
</plist>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>cell</key>
<string>PSStaticTextCell</string>
<key>height</key>
<integer>150</integer>
<key>label</key>
<string></string>
<key>icon</key>
<string>banner.png</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>General</string>
</dict>
<dict>
<key>cell</key>
<string>PSSwitchCell</string>
<key>default</key>
<false/>
<key>defaults</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string>
<key>key</key>
<string>isEnabled</string>
<key>label</key>
<string>Enabled</string>
<key>PostNotification</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged</string>
</dict>
<dict>
<key>cell</key>
<string>PSSecureEditTextCell</string>
<key>defaults</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences</string>
<key>key</key>
<string>discordToken</string>
<key>label</key>
<string>Discord Token</string>
<key>placeholder</key>
<string>Put your discord token here</string>
<key>PostNotification</key>
<string>pink.kirameki.yuzu.iosdiscordpresencepreferences/PreferencesChanged</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Information</string>
</dict>
<dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>label</key>
<string>GitHub</string>
<key>action</key>
<string>openGitHubLink</string>
</dict>
</array>
<key>title</key>
<string>iOS-DiscordPresence</string>
</dict>
</plist>

BIN
Preferences/Resources/banner.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
Preferences/Resources/icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
Preferences/Resources/icon@2x.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB