From b1e6a53c8e3ee9e45e94196306c96d1cbb56c07c Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Mon, 6 Apr 2020 09:42:57 -1000 Subject: Revert "Try to fix strange crash due to metadata.cb0" This reverts commit a4cb13fd832b72a99d8d68304fe08815ec9e4098. --- MobileCydia.mm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 7d0b2ba..25e8907 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9440,13 +9440,6 @@ int main(int argc, char *argv[]) { _trace(); mkdir("/var/mobile/Library/Cydia", 0755); - fd = open("/var/mobile/Library/Cydia/metadata.cb0", O_RDWR | O_CREAT | O_EXLOCK, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); - if (fd == -1) { - system("/usr/libexec/cydia/cydo /bin/rm -rf /var/mobile/Library/Cydia"); - mkdir("/var/mobile/Library/Cydia", 0755); - } else { - close(fd); - } MetaFile_.Open("/var/mobile/Library/Cydia/metadata.cb0"); _trace(); -- cgit v1.2.3