summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-09-27 10:03:48 -1000
committerSam Bingner <sam@bingner.com>2018-09-27 10:03:48 -1000
commit310821ca5df4fd07b3d2b35abe9a4eb7896ea3e1 (patch)
tree1cb32bd7d5c5d56daf1ae7ce102de9ec2188d835
parente2739501a16a3ff9019cb1279b064dba644b20e7 (diff)
Update copyright notice and never allow stashing on iOS10.3+
-rw-r--r--MobileCydia.mm19
1 files 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];