summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-21 23:53:24 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-21 23:54:20 -0700
commit9c0eddfd91527970c6722e76ef2469e7113228cd (patch)
tree45d4949cdce728a484d75d17a7d5b8eb9cc43234
parent8731fdb01b52e3965f99f2568c5514995fc81c7b (diff)
Steal more entitlements from MobileSafari: I want Nitro.
-rw-r--r--entitlements.xml35
-rw-r--r--launch.xml9
-rw-r--r--makefile4
3 files changed, 37 insertions, 11 deletions
diff --git a/entitlements.xml b/entitlements.xml
new file mode 100644
index 0000000..9c8d1d2
--- /dev/null
+++ b/entitlements.xml
@@ -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
index 80d4806..0000000
--- a/launch.xml
+++ /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>
diff --git a/makefile b/makefile
index abc07de..be9ae5f 100644
--- 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)