From 310821ca5df4fd07b3d2b35abe9a4eb7896ea3e1 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 27 Sep 2018 10:03:48 -1000 Subject: Update copyright notice and never allow stashing on iOS10.3+ --- MobileCydia.mm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 3a422e2..1c7e0e4 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1,5 +1,6 @@ /* Cydia - iPhone UIKit Front-End for Debian APT - * Copyright (C) 2008-2015 Jay Freeman (saurik) + * Original work Copyright (C) 2008-2017 Jay Freeman (saurik) + * Modified work Copyright (C) 2018 Sam Bingner (sbingner) */ /* GNU General Public License, Version 3 {{{ */ @@ -4624,7 +4625,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { pkgCache::PkgIterator package(dep.TargetPkg()); if (package.end()) continue; - if (strcmp(package.Name(), "mobilesubstrate") == 0) + if (strcmp(package.Name(), "mobilesubstrate") == 0 || + strcmp(package.Name(), "com.ex.substitute") == 0) return true; } @@ -6287,12 +6289,18 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi [alert setCancelButtonIndex:0]; [alert setMessage: - @"Copyright \u00a9 2008-2015\n" + @"Original work Copyright \u00a9 2008-2017\n" "SaurikIT, LLC\n" "\n" "Jay Freeman (saurik)\n" "saurik@saurik.com\n" - "http://www.saurik.com/" + "http://www.saurik.com/\n\n" + "Modified work Copyright \u00a9 2018\n" + "SB Designs, INC\n" + "\n" + "Sam Bingner (sbingner)\n" + "sam@bingner.com\n" + "http://www.bingner.com/" ]; [alert show]; @@ -8991,8 +8999,7 @@ _end [window_ makeKey:self]; [window_ setHidden:NO]; - if (access("/.cydia_no_stash", F_OK) == 0); - else { + if (kCFCoreFoundationVersionNumber < 1349.56 && access("/.cydia_no_stash", F_OK) != 0) { if (false) stash: { [self addStashController]; -- cgit v1.2.3