From 03ef79ee43de8ebf2ddfeb53c30ad3a12bfce517 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 16 Feb 2017 00:01:48 -0800 Subject: [PATCH] Cydia no longer needs its own Substrate Safe Mode. --- MobileCydia.mm | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index b6c0ca85..a5e9dbcc 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -10315,29 +10315,6 @@ int main(int argc, char *argv[]) { CollationStarts_ = [NSArray arrayWithObjects:@"a",@"b",@"c",@"d",@"e",@"f",@"g",@"h",@"i",@"j",@"k",@"l",@"m",@"n",@"o",@"p",@"q",@"r",@"s",@"t",@"u",@"v",@"w",@"x",@"y",@"z",@"ʒ",nil]; } /* }}} */ - /* Parse Arguments {{{ */ - bool substrate(false); - - if (argc != 0) { - char **args(argv); - int arge(1); - - for (int argi(1); argi != argc; ++argi) - if (strcmp(argv[argi], "--") == 0) { - arge = argi; - argv[argi] = argv[0]; - argv += argi; - argc -= argi; - break; - } - - for (int argi(1); argi != arge; ++argi) - if (strcmp(args[argi], "--substrate") == 0) - substrate = true; - else - fprintf(stderr, "unknown argument: %s\n", args[argi]); - } - /* }}} */ App_ = [[NSBundle mainBundle] bundlePath]; Advanced_ = YES; -- 2.45.2