diff options
author | Sam Bingner <sam@bingner.com> | 2019-05-09 23:18:57 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-05-27 14:31:08 -1000 |
commit | 97e900b2ad67c8f16716dff496180b09b33d9eaf (patch) | |
tree | bfba7b6693990aadd1f25a0ecd3d2544bf34ae4a /Sources.mm | |
parent | 04f7858ab3a4ae343dee401efc7ecd777d422b1b (diff) |
Pin elucubratus, support pining, unblock electra
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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"]]]; } |