summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-10-27 02:13:46 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-10-27 02:17:47 -0700
commit8dbbd7d6bc2796cb56b41ae3dade5d85d03ec49b (patch)
tree4f8d290722fc0bdd5f8ce22df7d36b35e1083628
parent7915a5884c3180a7a2e706275a3020238ff05c26 (diff)
Pretend to link against iOS 8 to allow 3.0 scale.
-rw-r--r--makefile2
-rwxr-xr-xuikit.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index ff91da9..fa6581b 100644
--- a/makefile
+++ b/makefile
@@ -119,7 +119,7 @@ sysroot: sysroot.sh
MobileCydia: sysroot $(object) entitlements.xml
@echo "[link] $(object:Objects/%=%)"
- @$(cycc) $(filter %.o,$^) $(flags) $(link) $(libs) $(uikit) -Wl,-sdk_version,7.0
+ @$(cycc) $(filter %.o,$^) $(flags) $(link) $(libs) $(uikit) -Wl,-sdk_version,8.0
@mkdir -p bins
@cp -a $@ bins/$@-$(version)
@echo "[strp] $@"
diff --git a/uikit.sh b/uikit.sh
index 01ddfa6..903e1ba 100755
--- a/uikit.sh
+++ b/uikit.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-exec /sw/bin/sed -i -e 's@\(\x0C\x00\x00\x00\x4C\x00\x00\x00\x18\x00\x00\x00\x02\x00\x00\x00\)\x00\x00\xA4\x06\(\x00\x00\x01\x00/System/Library/Frameworks/UIKit.framework/UIKit\x00\x00\x00\)@\1\x00\x02\x57\x0B\2@' "$1"
+LANG=C exec /sw/bin/sed -i -e 's@\(\x0C\x00\x00\x00\x4C\x00\x00\x00\x18\x00\x00\x00\x02\x00\x00\x00\)\x00...\(\x00\x00\x01\x00/System/Library/Frameworks/UIKit.framework/UIKit\x00\x00\x00\x00\)@\1\x00\x00\xF6\x0C\2@' "$1"