summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-13 11:04:19 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 14:27:40 -1000
commit2dc87015cb656153fdf7d492b091424636b32d84 (patch)
treee81e86a48590d8201aad3d0e8bf9997f8acd66fa
parentc87c60d2bb54bdbb43455b5dbedcf2af53c9aaed (diff)
Add dynastic repo and update webkit stuff
-rw-r--r--MobileCydia.mm4
-rw-r--r--Sources.list/cydia.list1
-rw-r--r--postinst.mm2
3 files changed, 7 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 94861ef..314dffc 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9263,6 +9263,9 @@ int main(int argc, char *argv[]) {
return main_http();
else {}
+ if ([WebPreferences respondsToSelector:@selector(setWebKitLinkTimeVersion:)])
+ [WebPreferences setWebKitLinkTimeVersion:PACKED_VERSION(3453,0,0)];
+
int fd(open("/tmp/cydia.log", O_WRONLY | O_APPEND | O_CREAT, 0644));
dup2(fd, 2);
close(fd);
@@ -9445,6 +9448,7 @@ int main(int argc, char *argv[]) {
CydiaAddSource(@"http://apt.modmyi.com/", @"stable", [NSMutableArray arrayWithObject:@"main"]);
CydiaAddSource(@"http://cydia.zodttd.com/repo/cydia/", @"stable", [NSMutableArray arrayWithObject:@"main"]);
CydiaAddSource(@"https://repo.chariz.io/", @"./");
+ CydiaAddSource(@"https://repo.dynastic.co/", @"./");
Version_ = [NSNumber numberWithUnsignedInt:1];
diff --git a/Sources.list/cydia.list b/Sources.list/cydia.list
index 1712137..2f8e565 100644
--- a/Sources.list/cydia.list
+++ b/Sources.list/cydia.list
@@ -3,3 +3,4 @@ deb http://apt.thebigboss.org/repofiles/cydia/ stable main
deb http://cydia.zodttd.com/repo/cydia/ stable main
deb http://apt.modmyi.com/ stable main
deb https://repo.chariz.io/ ./
+deb https://repo.dynastic.co/ ./
diff --git a/postinst.mm b/postinst.mm
index 47b485c..a12e580 100644
--- a/postinst.mm
+++ b/postinst.mm
@@ -265,6 +265,7 @@ int main(int argc, const char *argv[]) {
"deb http://cydia.zodttd.com/repo/cydia/ stable main\n"
"deb http://apt.modmyi.com/ stable main\n"
"deb https://repo.chariz.io/ ./\n"
+ "deb https://repo.dynastic.co/ ./\n"
) writeToFile:@ CYDIA_LIST atomically:YES];
} else {
[[NSString stringWithFormat:@
@@ -274,6 +275,7 @@ int main(int argc, const char *argv[]) {
"deb http://cydia.zodttd.com/repo/cydia/ stable main\n"
"deb http://apt.modmyi.com/ stable main\n"
"deb https://repo.chariz.io/ ./\n"
+ "deb https://repo.dynastic.co/ ./\n"
, kCFCoreFoundationVersionNumber] writeToFile:@ CYDIA_LIST atomically:YES];
}