]> git.saurik.com Git - winterboard.git/commitdiff
Fork the Preferences entry to get an iOS 7 icon.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 11:43:21 +0000 (03:43 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 11:56:01 +0000 (03:56 -0800)
Icon-Small7.png [new file with mode: 0644]
Icon-Small7@2x.png [new file with mode: 0644]
WinterBoardSettings.plist
WinterBoardSettings7.plist [new file with mode: 0644]
package.sh

diff --git a/Icon-Small7.png b/Icon-Small7.png
new file mode 100644 (file)
index 0000000..1f1214e
Binary files /dev/null and b/Icon-Small7.png differ
diff --git a/Icon-Small7@2x.png b/Icon-Small7@2x.png
new file mode 100644 (file)
index 0000000..f651315
Binary files /dev/null and b/Icon-Small7@2x.png differ
index f0d8769fc9829889a48f1e150254008186c595b5..d91646e3a4487d5991b653a2e10ea615e78e6fda 100644 (file)
                <string>icon.png</string>
                <key>label</key>
                <string>WinterBoard</string>
+               <key>pl_filter</key>
+               <dict>
+                       <key>CoreFoundationVersion</key>
+                       <array>
+                               <real>0.0</real>
+                               <real>800</real>
+                       </array>
+               </dict>
        </dict>
 </dict>
 </plist>
diff --git a/WinterBoardSettings7.plist b/WinterBoardSettings7.plist
new file mode 100644 (file)
index 0000000..6ae0fca
--- /dev/null
@@ -0,0 +1,26 @@
+<?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>entry</key>
+       <dict>
+               <key>bundle</key>
+               <string>WinterBoardSettings</string>
+               <key>cell</key>
+               <string>PSLinkCell</string>
+               <key>isController</key>
+               <true/>
+               <key>icon</key>
+               <string>icon7.png</string>
+               <key>label</key>
+               <string>WinterBoard</string>
+               <key>pl_filter</key>
+               <dict>
+                       <key>CoreFoundationVersion</key>
+                       <array>
+                               <real>800</real>
+                       </array>
+               </dict>
+       </dict>
+</dict>
+</plist>
index 9005ac6b6752dd5cbf1b0c570721b6f10406ef0e..0f1d7f5f61c9b3b06b2aeb9295332bf200608ce0 100755 (executable)
@@ -32,9 +32,12 @@ mkdir -p package/usr/libexec/package
 cp -a Optimize package/usr/libexec/package
 chmod 6755 package/usr/libexec/package/Optimize
 cp -a WinterBoardSettings.plist package/Library/PreferenceLoader/Preferences
+cp -a WinterBoardSettings7.plist package/Library/PreferenceLoader/Preferences
 cp -a WinterBoardSettings.bundle package/System/Library/PreferenceBundles
 cp -a Icon-Small.png package/System/Library/PreferenceBundles/WinterBoardSettings.bundle/icon.png
 cp -a Icon-Small@2x.png package/System/Library/PreferenceBundles/WinterBoardSettings.bundle/icon@2x.png
+cp -a Icon-Small7.png package/System/Library/PreferenceBundles/WinterBoardSettings.bundle/icon7.png
+cp -a Icon-Small7@2x.png package/System/Library/PreferenceBundles/WinterBoardSettings.bundle/icon7@2x.png
 cp -a SearchResultsCheckmarkClear.png WinterBoardSettings package/System/Library/PreferenceBundles/WinterBoardSettings.bundle
 ln -s /Applications/WinterBoard.app/WinterBoard.dylib package/Library/MobileSubstrate/DynamicLibraries
 cp -a WinterBoard.plist package/Library/MobileSubstrate/DynamicLibraries