]> git.saurik.com Git - cydia.git/commitdiff
Steal more entitlements from MobileSafari: I want Nitro.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Mar 2011 06:53:24 +0000 (23:53 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Mar 2011 06:54:20 +0000 (23:54 -0700)
entitlements.xml [new file with mode: 0644]
launch.xml [deleted file]
makefile

diff --git a/entitlements.xml b/entitlements.xml
new file mode 100644 (file)
index 0000000..9c8d1d2
--- /dev/null
@@ -0,0 +1,35 @@
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+    <key>com.apple.coreaudio.allow-amr-decode</key>
+    <true/>
+
+    <key>com.apple.coremedia.allow-protected-content-playback</key>
+    <true/>
+
+    <key>com.apple.managedconfiguration.profiled-access</key>
+    <true/>
+
+    <key>com.apple.springboard.opensensitiveurl</key>
+    <true/>
+
+    <key>dynamic-codesigning</key>
+    <true/>
+
+    <key>com.apple.springboard.launchapplications</key>
+    <true/>
+
+    <key>com.apple.springboard.opensensitiveurl</key>
+    <true/>
+
+    <key>keychain-access-groups</key>
+    <array>
+        <string>com.apple.cfnetwork</string>
+        <string>com.apple.identities</string>
+        <string>com.apple.mobilesafari</string>
+    </array>
+
+    <key>platform-application</key>
+    <true/>
+</dict>
+</plist>
diff --git a/launch.xml b/launch.xml
deleted file mode 100644 (file)
index 80d4806..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-       <key>com.apple.springboard.launchapplications</key>
-       <true/>
-        <key>com.apple.springboard.opensensitiveurl</key>
-        <true/>
-</dict>
-</plist>
index abc07de6b7166f5a0408aef17f91bc0b7ed91318..be9ae5f744d0b247f9b2928e3f5f7cce3668c091 100644 (file)
--- a/makefile
+++ b/makefile
@@ -118,14 +118,14 @@ sysroot: sysroot.sh
        @echo 1>&2
        @exit 1
 
-MobileCydia: sysroot $(object)
+MobileCydia: sysroot $(object) entitlements.xml
        @echo "[link] $(object:Objects/%=%)"
        @$(cycc) $(filter %.o,$^) $(flags) $(link) $(uikit)
        @cp -a $@ bins/$@-$(version)
        @echo "[strp] $@"
        @strip -no_uuid $@
        @echo "[sign] $@"
-       @ldid -T0 -Slaunch.xml $@ || { rm -f $@ && false; }
+       @ldid -T0 -Sentitlements.xml $@ || { rm -f $@ && false; }
 
 CydiaAppliance: CydiaAppliance.mm
        $(cycc) $(filter %.mm,$^) $(flags) -bundle $(link) $(backrow)