summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2012-01-20 02:21:19 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2012-01-20 02:21:19 -0800
commitdc8b66818a2d3d740ac83a3c7f69f4e890b0efad (patch)
treec74ab19f9718d5405cdc94ba625377db1111ab23
parent5dcff401470fa5ebfdcd266d7c7e2e1c194a1629 (diff)
Stupidest fix ever for yet another root/mobile bug.v1.1.4
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index a59c8ea..8b8a406 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10630,6 +10630,8 @@ int main(int argc, char *argv[]) {
setuid(0);
setgid(0);
+ system("mkdir -p /var/root/Library/Keyboard; cp -af /var/mobile/Library/Keyboard/UserDictionary.sqlite /var/root/Library/Keyboard/");
+
/*Method alloc = class_getClassMethod([NSObject class], @selector(alloc));
alloc_ = alloc->method_imp;
alloc->method_imp = (IMP) &Alloc_;*/