From: Jay Freeman (saurik) Date: Fri, 20 Jan 2012 10:21:19 +0000 (-0800) Subject: Stupidest fix ever for yet another root/mobile bug. X-Git-Tag: v1.1.4^0 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/dc8b66818a2d3d740ac83a3c7f69f4e890b0efad Stupidest fix ever for yet another root/mobile bug. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index a59c8ead..8b8a406d 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_;*/