diff options
author | Sam Bingner <sam@bingner.com> | 2019-05-09 23:18:57 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-05-10 13:00:56 -1000 |
commit | 171c8c469797f990ad2a66a7881558155b6e13de (patch) | |
tree | 16513236b85d1c4bc187004d881c3177543a8309 /Sources.mm | |
parent | 5b200555808e798a08210f5697ad7ba80c6fdc70 (diff) |
Pin elucubratus, support pining, unblock electrav1.1.32%b15
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -36,7 +36,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"); @@ -51,11 +51,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", @@ -75,11 +70,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"]]]; } |