diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-16 00:01:48 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-16 00:01:48 -0800 |
commit | 03ef79ee43de8ebf2ddfeb53c30ad3a12bfce517 (patch) | |
tree | 8a365daeeac4c98f1881ea7b8f1c63d81c2bc851 | |
parent | a8ed80cf69a9766c161673ce15c32ae96968d39b (diff) |
Cydia no longer needs its own Substrate Safe Mode.
-rw-r--r-- | MobileCydia.mm | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index b6c0ca8..a5e9dbc 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; |