From 35ad2d6ea61fb2377b17db79f8c8c7606f602faf Mon Sep 17 00:00:00 2001 From: JeffreyCA Date: Thu, 1 Aug 2024 19:14:17 -0700 Subject: [PATCH] Update user agent to fix multireddit search --- CHANGELOG.md | 7 ++++++- Tweak.xm | 2 +- control | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c21ff2..491de1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [v1.1.2] - 2024-08-01 + +Update user agent to fix multireddit search + ## [v1.1.1] - 2024-07-27 - Working hybrid implementation of "New Comments Highlighter" Ultra feature @@ -63,7 +67,8 @@ There are currently a few limitations: ## [v1.0.0] - 2023-10-13 - Initial release -[v1.0.12]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.0.12...v1.1.1 +[v1.1.2]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.1.1...v1.1.2 +[v1.1.1]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.0.12...v1.1.1 [v1.0.12]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.0.11...v1.0.12 [v1.0.11]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.0.10...v1.0.11 [v1.0.10]: https://github.com/JeffreyCA/Apollo-ImprovedCustomApi/compare/v1.0.9...v1.0.10 diff --git a/Tweak.xm b/Tweak.xm index 0d9adf2..830c923 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -43,7 +43,7 @@ static NSArray *const blockedUrls = @[ @"https://apollogur.download/api/goodbye_wallpaper" ]; -static NSString *const defaultUserAgent = @"Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1"; +static NSString *const defaultUserAgent = @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"; // Highlight color for new unread comments static UIColor *const NewPostCommentsColor = [UIColorFromRGB(0xFFD16E) colorWithAlphaComponent: 0.15]; diff --git a/control b/control index 0963e1c..fd21eea 100644 --- a/control +++ b/control @@ -1,6 +1,6 @@ Package: ca.jeffrey.apollo-improvedcustomapi Name: Apollo-ImprovedCustomApi -Version: 1.1.1 +Version: 1.1.2 Architecture: iphoneos-arm Description: Apollo for Reddit tweak with in-app configurable API keys Maintainer: JeffreyCA