diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2012-01-20 02:21:19 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2012-01-20 02:21:19 -0800 |
commit | dc8b66818a2d3d740ac83a3c7f69f4e890b0efad (patch) | |
tree | c74ab19f9718d5405cdc94ba625377db1111ab23 /MobileCydia.mm | |
parent | 5dcff401470fa5ebfdcd266d7c7e2e1c194a1629 (diff) |
Stupidest fix ever for yet another root/mobile bug.v1.1.4
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 2 |
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_;*/ |