summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Sources.mm')
-rw-r--r--Sources.mm12
1 files changed, 1 insertions, 11 deletions
diff --git a/Sources.mm b/Sources.mm
index 2a64210..aaf20f1 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -43,7 +43,7 @@ void CydiaWriteSources() {
_assert(file != NULL);
if (kCFCoreFoundationVersionNumber >= 1443) {
- fprintf(file, "deb https://apt.bingner.com/ ios/%.2f main\n", kCFCoreFoundationVersionNumber);
+ fprintf(file, "deb https://apt.bingner.com/ ./\n");
} else {
fprintf(file, "deb http://apt.saurik.com/ ios/%.2f main\n", kCFCoreFoundationVersionNumber);
fprintf(file, "deb https://apt.bingner.com/ ./\n");
@@ -58,11 +58,6 @@ void CydiaWriteSources() {
if ([[source objectForKey:@"URI"] hasPrefix:@"http://apt.bingner.com"] || [[source objectForKey:@"URI"] hasPrefix:@"https://apt.bingner.com"])
continue;
- // Don't add Electra sources
- if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound ||
- [[source objectForKey:@"URI"] rangeOfString:@"chimera" options:NSCaseInsensitiveSearch].location != NSNotFound)
- continue;
-
NSArray *sections([source objectForKey:@"Sections"] ?: [NSArray array]);
fprintf(file, "%s %s %s%s%s\n",
@@ -82,11 +77,6 @@ void CydiaAddSource(NSDictionary *source) {
if ([[source objectForKey:@"URI"] hasPrefix:@"http://apt.bingner.com"] || [[source objectForKey:@"URI"] hasPrefix:@"https://apt.bingner.com"])
return;
- // Don't add Electra sources
- if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound ||
- [[source objectForKey:@"URI"] rangeOfString:@"chimera" options:NSCaseInsensitiveSearch].location != NSNotFound)
- return;
-
[Sources_ setObject:source forKey:[NSString stringWithFormat:@"%@:%@:%@", [source objectForKey:@"Type"], [source objectForKey:@"URI"], [source objectForKey:@"Distribution"]]];
}