diff --git a/Makefile b/Makefile index ed1324e..6eba69a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -# THEOS_DEVICE_IP = 192.168.1.63 - ARCHS = arm64 arm64e TARGET = iphone:clang:12.2:12.0 @@ -10,16 +8,9 @@ include $(THEOS)/makefiles/common.mk TWEAK_NAME = MessengerNoAds MessengerNoAds_FILES = Tweak.xm $(wildcard settingsview/*.xm settingsview/*.m) MessengerNoAds_CFLAGS = -fobjc-arc -# MessengerNoAds_CODESIGN_FLAGS = -Sentitlements.xml include $(THEOS_MAKE_PATH)/tweak.mk internal-stage:: $(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/Application\ Support/MessengerNoAds.bundle/$(ECHO_END) $(ECHO_NOTHING)cp -a settingsview/Resources/. $(THEOS_STAGING_DIR)/Library/Application\ Support/MessengerNoAds.bundle/$(ECHO_END) - -# SUBPROJECTS += pref ccmodule -# include $(THEOS_MAKE_PATH)/aggregate.mk - -# after-install:: -# install.exec "killall -9 SpringBoard" diff --git a/README.md b/README.md index b64cd5b..5a6620b 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,15 @@ Not only removing ads but shipped with many nice features Messenger No Ads ## Features - +*Tap on your profile picture on top right of the screen to access settings* - No Ads -- Disable Read Receipt. Can be added to Control center for quickly turn on/off. *Go to Setting -> Control Center -> Customize Controls -> Add Messenger No Ads* +- Disable Read Receipt - Disable Typing Indicator - Disable Story Seen (see others's stories but they won't know it) - Can save friend's story. (Tap ... on top right of story view -> Save) - Hide Search Bar (iOS12) / Hide Stories Row / Hide People tab - Support iOS 11 (tested) - 12 (tested) - 13 (tested) -- Support latest Messenger version (If it doesn't work, you should update the app to latest version 258.0 - 260.1) +- Support latest Messenger version (If it doesn't work, you should update the app to latest version >=258.0) ## Cydia Repo @@ -26,7 +26,6 @@ Not only removing ads but shipped with many nice features ## Screenshot Messenger No Ads Preferences -Messenger No Ads Control Center Support ## Building diff --git a/Tweak.xm b/Tweak.xm index a20cf5a..b921cbb 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -196,28 +196,6 @@ static void PreferencesChangedCallback(CFNotificationCenterRef center, void *obs }]]; [alert addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:nil]]; [arg1 presentViewController:alert animated:YES completion:nil]; - - /* - NSString *path = @"prefs:root=Messenger No Ads"; - path = [path stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLFragmentAllowedCharacterSet]]; - NSURL*url = [NSURL URLWithString:path]; - - UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"url" message:path preferredStyle:UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad ? UIAlertControllerStyleAlert : UIAlertControllerStyleActionSheet]; - [alert addAction:[UIAlertAction actionWithTitle:@"Open new pref view" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { - MNASettingsViewController *settingsVC = [[MNASettingsViewController alloc] init]; - UINavigationController *navVC = [[UINavigationController alloc] initWithRootViewController:settingsVC]; - [arg1 presentViewController:navVC animated:YES completion:nil]; - }]]; - [alert addAction:[UIAlertAction actionWithTitle:@"Go to Preferences" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { - // not working - [[UIApplication sharedApplication] _openURL:url]; - }]]; - [alert addAction:[UIAlertAction actionWithTitle:@"Compose new message" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { - %orig; - }]]; - [alert addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:nil]]; - [arg1 presentViewController:alert animated:YES completion:nil]; - */ } %end %end diff --git a/ccmodule/MNACCModule.h b/ccmodule/MNACCModule.h deleted file mode 100644 index df86dbe..0000000 --- a/ccmodule/MNACCModule.h +++ /dev/null @@ -1,8 +0,0 @@ -#import -#import - -@interface MNACCModule : CCUIToggleModule { - BOOL _selected; -} - -@end diff --git a/ccmodule/MNACCModule.m b/ccmodule/MNACCModule.m deleted file mode 100644 index de3ebe9..0000000 --- a/ccmodule/MNACCModule.m +++ /dev/null @@ -1,60 +0,0 @@ -#import "MNACCModule.h" - -#define TWEAK_TITLE "Messenger No Ads" -#define PLIST_PATH "/var/mobile/Library/Preferences/com.haoict.messengernoadspref.plist" -#define PREF_CHANGED_NOTIF "com.haoict.messengernoadspref/PrefChanged" - -@implementation MNACCModule - -- (UIImage *)iconGlyph { - return [UIImage imageNamed:@"seen-enable" inBundle:[NSBundle bundleForClass:[self class]] compatibleWithTraitCollection:nil]; -} - -- (UIImage *)selectedIconGlyph { - return [UIImage imageNamed:@"seen-disable" inBundle:[NSBundle bundleForClass:[self class]] compatibleWithTraitCollection:nil]; -} - -- (UIColor *)selectedColor { - return [UIColor colorWithRed: 0.81 green: 0.19 blue: 0.95 alpha: 1.00]; -} - -- (BOOL)isSelected { - NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@PLIST_PATH]; - _selected = [[settings objectForKey:@"disablereadreceipt"] ?: @(YES) boolValue]; - return _selected; -} - -- (void)setSelected:(BOOL)selected { - _selected = selected; - [super refreshState]; - - NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@PLIST_PATH] ?: [@{} mutableCopy]; - if(_selected) { - [settings setObject:@(NO) forKey:@"disablereadreceipt"]; - } - else { - [settings setObject:@(YES) forKey:@"disablereadreceipt"]; - } - [settings writeToFile:@PLIST_PATH atomically:YES]; - notify_post(PREF_CHANGED_NOTIF); -} - -- (void)promptRespring { - __block UIWindow* topWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; - topWindow.rootViewController = [UIViewController new]; - topWindow.windowLevel = UIWindowLevelAlert + 1; - UIAlertController* alert = [UIAlertController alertControllerWithTitle:@TWEAK_TITLE message:@"An Respring is requerid for this option." preferredStyle:UIAlertControllerStyleAlert]; - [alert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) { - topWindow.hidden = YES; - topWindow = nil; - // [self respring]; - }]]; - [alert addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { - topWindow.hidden = YES; - topWindow = nil; - }]]; - [topWindow makeKeyAndVisible]; - [topWindow.rootViewController presentViewController:alert animated:YES completion:nil]; -} - -@end diff --git a/ccmodule/Makefile b/ccmodule/Makefile deleted file mode 100644 index 2dd658b..0000000 --- a/ccmodule/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -ARCHS = arm64 arm64e - -include $(THEOS)/makefiles/common.mk - -BUNDLE_NAME = MNACCModule -MNACCModule_BUNDLE_EXTENSION = bundle -MNACCModule_FILES = MNACCModule.m -MNACCModule_PRIVATE_FRAMEWORKS = ControlCenterUIKit -MNACCModule_INSTALL_PATH = /Library/ControlCenter/Bundles/ - -include $(THEOS_MAKE_PATH)/bundle.mk \ No newline at end of file diff --git a/ccmodule/Resources/Info.plist b/ccmodule/Resources/Info.plist deleted file mode 100644 index 41c3abd..0000000 --- a/ccmodule/Resources/Info.plist +++ /dev/null @@ -1,54 +0,0 @@ - - - - - CFBundleName - Disable Read Recepit - Messenger No Ads - CFBundleExecutable - MNACCModule - CFBundleIdentifier - com.haoict.messengernoadscc - CFBundleDevelopmentRegion - English - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - MinimumOSVersion - 7.0 - UIDeviceFamily - - 1 - 2 - - NSPrincipalClass - MNACCModule - CFBundleSupportedPlatforms - - iPhoneOS - - CCSGetModuleSizeAtRuntime - - CCSModuleSize - - Portrait - - Height - 1 - Width - 1 - - Landscape - - Height - 1 - Width - 1 - - - - diff --git a/ccmodule/Resources/SettingsIcon.png b/ccmodule/Resources/SettingsIcon.png deleted file mode 100644 index 696cff1..0000000 Binary files a/ccmodule/Resources/SettingsIcon.png and /dev/null differ diff --git a/ccmodule/Resources/SettingsIcon@2x.png b/ccmodule/Resources/SettingsIcon@2x.png deleted file mode 100644 index 470d85f..0000000 Binary files a/ccmodule/Resources/SettingsIcon@2x.png and /dev/null differ diff --git a/ccmodule/Resources/SettingsIcon@3x.png b/ccmodule/Resources/SettingsIcon@3x.png deleted file mode 100644 index 878f598..0000000 Binary files a/ccmodule/Resources/SettingsIcon@3x.png and /dev/null differ diff --git a/ccmodule/Resources/seen-disable@2x.png b/ccmodule/Resources/seen-disable@2x.png deleted file mode 100644 index 50c6ef4..0000000 Binary files a/ccmodule/Resources/seen-disable@2x.png and /dev/null differ diff --git a/ccmodule/Resources/seen-disable@3x.png b/ccmodule/Resources/seen-disable@3x.png deleted file mode 100644 index 95af4a8..0000000 Binary files a/ccmodule/Resources/seen-disable@3x.png and /dev/null differ diff --git a/ccmodule/Resources/seen-enable@2x.png b/ccmodule/Resources/seen-enable@2x.png deleted file mode 100644 index 034af61..0000000 Binary files a/ccmodule/Resources/seen-enable@2x.png and /dev/null differ diff --git a/ccmodule/Resources/seen-enable@3x.png b/ccmodule/Resources/seen-enable@3x.png deleted file mode 100644 index 72ed35b..0000000 Binary files a/ccmodule/Resources/seen-enable@3x.png and /dev/null differ diff --git a/control b/control index 07b833b..b77fc10 100644 --- a/control +++ b/control @@ -1,8 +1,8 @@ -Package: com.haoict.messengernoads-beta -Name: Messenger No Ads Beta +Package: com.haoict.messengernoads +Name: Messenger No Ads Depends: mobilesubstrate, firmware (>= 10) Conflicts: com.haoict.messengernoads -Version: 3.0.0~b3 +Version: 3.0.0 Architecture: iphoneos-arm Description: The best tweak for Messenger app. The best tweak for Messenger app. diff --git a/entitlements.xml b/entitlements.xml deleted file mode 100644 index 15d1197..0000000 --- a/entitlements.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - platform-application - - com.apple.private.skip-library-validation - - com.apple.private.security.no-container - - com.apple.springboard.opensensitiveurl - - com.apple.springboard.launchapplications - - - \ No newline at end of file diff --git a/pref/HaoPSHeaderCellCustom.h b/pref/HaoPSHeaderCellCustom.h deleted file mode 100644 index a3a2093..0000000 --- a/pref/HaoPSHeaderCellCustom.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import -#import "HaoPSUtil.h" - -@interface HaoPSHeaderCellCustom : UITableViewCell -@end diff --git a/pref/HaoPSHeaderCellCustom.m b/pref/HaoPSHeaderCellCustom.m deleted file mode 100644 index 9ffd02b..0000000 --- a/pref/HaoPSHeaderCellCustom.m +++ /dev/null @@ -1,45 +0,0 @@ -#import "HaoPSHeaderCellCustom.h" - -@implementation HaoPSHeaderCellCustom { - UILabel *label; - UILabel *underLabel; -} - -- (id)initWithSpecifier:(PSSpecifier *)specifier { - self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"Cell"]; - if (self) { - int kWidth = [[UIApplication sharedApplication] keyWindow].frame.size.width; - if ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad ) { - kWidth = kWidth / 2; - } - NSArray *subtitles = [NSArray arrayWithObjects:@"By @haoict", @"Free and Open Source!", @"Made with love", nil]; - - CGRect labelFrame = CGRectMake(0, 10, kWidth, 80); - CGRect underLabelFrame = CGRectMake(0, 60, kWidth, 60); - - label = [[UILabel alloc] initWithFrame:labelFrame]; - [label setNumberOfLines:1]; - label.font = [UIFont systemFontOfSize:35]; - [label setText:[specifier.properties objectForKey:@"label"]]; - label.textColor = kTintColor; - label.textAlignment = NSTextAlignmentCenter; - - underLabel = [[UILabel alloc] initWithFrame:underLabelFrame]; - [underLabel setNumberOfLines:1]; - underLabel.font = [UIFont systemFontOfSize:15]; - uint32_t rnd = arc4random_uniform([subtitles count]); - [underLabel setText:[subtitles objectAtIndex:rnd]]; - underLabel.textColor = [UIColor grayColor]; - underLabel.textAlignment = NSTextAlignmentCenter; - - [self addSubview:label]; - [self addSubview:underLabel]; - } - return self; -} - -- (CGFloat)preferredHeightForWidth:(CGFloat)arg1 { - CGFloat prefHeight = 110.0; - return prefHeight; -} -@end \ No newline at end of file diff --git a/pref/HaoPSHeaderImageCellCustom.h b/pref/HaoPSHeaderImageCellCustom.h deleted file mode 100644 index e976194..0000000 --- a/pref/HaoPSHeaderImageCellCustom.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import -#import "HaoPSUtil.h" - -@interface HaoPSHeaderImageCellCustom : UITableViewCell -@end diff --git a/pref/HaoPSHeaderImageCellCustom.m b/pref/HaoPSHeaderImageCellCustom.m deleted file mode 100644 index a6ac62a..0000000 --- a/pref/HaoPSHeaderImageCellCustom.m +++ /dev/null @@ -1,39 +0,0 @@ -#import "HaoPSHeaderImageCellCustom.h" - -@implementation HaoPSHeaderImageCellCustom { - UIView *headerImageViewContainer; - UIImageView *headerImageView; -} - -- (id)initWithSpecifier:(PSSpecifier *)specifier { - self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"Cell"]; - if (self) { - [self prepareHeaderImage:specifier]; - [self applyHeaderImage]; - } - return self; -} - -- (void)prepareHeaderImage:(PSSpecifier *)specifier { - int kWidth = [[UIApplication sharedApplication] keyWindow].frame.size.width; - if ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad ) { - kWidth = kWidth / 2; - } - headerImageViewContainer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kWidth, 200.0)]; - if(specifier.properties[@"image"]) { - headerImageView = [[UIImageView alloc] initWithImage:[[UIImage alloc] initWithContentsOfFile:specifier.properties[@"image"]]]; - headerImageView.frame = CGRectMake(0, 0, kWidth, 200.0); - headerImageView.contentMode = UIViewContentModeScaleAspectFill; - [headerImageViewContainer addSubview:headerImageView]; - } -} - -- (void)applyHeaderImage { - [self addSubview:headerImageViewContainer]; -} - -- (CGFloat)preferredHeightForWidth:(CGFloat)arg1 { - CGFloat prefHeight = 200.0; - return prefHeight; -} -@end diff --git a/pref/HaoPSLinkCellCustom.h b/pref/HaoPSLinkCellCustom.h deleted file mode 100644 index d328fa7..0000000 --- a/pref/HaoPSLinkCellCustom.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import -#import "HaoPSUtil.h" - -@interface HaoPSLinkCellCustom : PSTableCell -@end diff --git a/pref/HaoPSLinkCellCustom.m b/pref/HaoPSLinkCellCustom.m deleted file mode 100644 index 7660467..0000000 --- a/pref/HaoPSLinkCellCustom.m +++ /dev/null @@ -1,19 +0,0 @@ -#import "HaoPSLinkCellCustom.h" - -@implementation HaoPSLinkCellCustom -- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier { - self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier specifier:specifier]; - if (self) { - self.textLabel.textColor = [HaoPSUtil colorFromHex:@"#333333"]; - - NSString *subTitleValue = [specifier.properties objectForKey:@"subtitle"]; - self.detailTextLabel.text = [HaoPSUtil localizedItem:subTitleValue]; - self.detailTextLabel.textColor = [HaoPSUtil colorFromHex:@"#828282"]; - } - return self; -} - -- (void)setSeparatorStyle:(UITableViewCellSeparatorStyle)style { - [super setSeparatorStyle:UITableViewCellSeparatorStyleNone]; -} -@end diff --git a/pref/HaoPSSwitchCellCustom.h b/pref/HaoPSSwitchCellCustom.h deleted file mode 100644 index f4f57d0..0000000 --- a/pref/HaoPSSwitchCellCustom.h +++ /dev/null @@ -1,6 +0,0 @@ -#import -#import -#import "HaoPSUtil.h" - -@interface HaoPSSwitchCellCustom : PSSwitchTableCell -@end diff --git a/pref/HaoPSSwitchCellCustom.m b/pref/HaoPSSwitchCellCustom.m deleted file mode 100644 index 9997710..0000000 --- a/pref/HaoPSSwitchCellCustom.m +++ /dev/null @@ -1,19 +0,0 @@ -#import "HaoPSSwitchCellCustom.h" - -@implementation HaoPSSwitchCellCustom -- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier { - self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier specifier:specifier]; - if (self) { - self.textLabel.textColor = [HaoPSUtil colorFromHex:@"#333333"]; - - NSString *subTitleValue = [specifier.properties objectForKey:@"subtitle"]; - self.detailTextLabel.text = [HaoPSUtil localizedItem:subTitleValue]; - self.detailTextLabel.textColor = [HaoPSUtil colorFromHex:@"#828282"]; - } - return self; -} - -- (void)setSeparatorStyle:(UITableViewCellSeparatorStyle)style { - [super setSeparatorStyle:UITableViewCellSeparatorStyleNone]; -} -@end diff --git a/pref/HaoPSUtil.h b/pref/HaoPSUtil.h deleted file mode 100644 index bcc0af7..0000000 --- a/pref/HaoPSUtil.h +++ /dev/null @@ -1,30 +0,0 @@ - -#define TWEAK_TITLE "Messenger No Ads" -#define PREF_BUNDLE_PATH "/Library/PreferenceBundles/MNAPref.bundle" -#define kTintColor [UIColor colorWithRed:0.72 green:0.53 blue:1.00 alpha:1.00]; - -@interface NSTask : NSObject -@property (copy) NSArray *arguments; -@property (copy) NSString *currentDirectoryPath; -@property (copy) NSDictionary *environment; -@property (copy) NSString *launchPath; -@property (readonly) int processIdentifier; -@property (retain) id standardError; -@property (retain) id standardInput; -@property (retain) id standardOutput; -+ (id)currentTaskDictionary; -+ (id)launchedTaskWithDictionary:(id)arg1; -+ (id)launchedTaskWithLaunchPath:(id)arg1 arguments:(id)arg2; -- (id)init; -- (void)interrupt; -- (bool)isRunning; -- (void)launch; -- (bool)resume; -- (bool)suspend; -- (void)terminate; -@end - -@interface HaoPSUtil : NSObject -+ (NSString *)localizedItem:(NSString *)key; -+ (UIColor *)colorFromHex:(NSString *)hexString; -@end \ No newline at end of file diff --git a/pref/HaoPSUtil.m b/pref/HaoPSUtil.m deleted file mode 100644 index 92939e5..0000000 --- a/pref/HaoPSUtil.m +++ /dev/null @@ -1,20 +0,0 @@ -#import "HaoPSUtil.h" - -@implementation HaoPSUtil -+ (NSString *)localizedItem:(NSString *)key { - NSBundle *tweakBundle = [NSBundle bundleWithPath:@PREF_BUNDLE_PATH]; - return [tweakBundle localizedStringForKey:key value:@"" table:@"Root"] ?: @""; -} - -+ (UIColor *)colorFromHex:(NSString *)hexString { - unsigned rgbValue = 0; - if ([hexString hasPrefix:@"#"]) hexString = [hexString substringFromIndex:1]; - if (hexString) { - NSScanner *scanner = [NSScanner scannerWithString:hexString]; - [scanner setScanLocation:0]; // bypass '#' character - [scanner scanHexInt:&rgbValue]; - return [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0]; - } - else return [UIColor grayColor]; -} -@end \ No newline at end of file diff --git a/pref/MNARootListController.h b/pref/MNARootListController.h deleted file mode 100755 index 3d83090..0000000 --- a/pref/MNARootListController.h +++ /dev/null @@ -1,12 +0,0 @@ -#import -#import -#import - -#import "HaoPSUtil.h" -#import "HaoPSHeaderImageCellCustom.h" -#import "HaoPSHeaderCellCustom.h" -#import "HaoPSLinkCellCustom.h" -#import "HaoPSSwitchCellCustom.h" - -@interface MNARootListController : PSListController -@end diff --git a/pref/MNARootListController.m b/pref/MNARootListController.m deleted file mode 100755 index dbac603..0000000 --- a/pref/MNARootListController.m +++ /dev/null @@ -1,103 +0,0 @@ -#include "MNARootListController.h" - -#define PLIST_PATH "/var/mobile/Library/Preferences/com.haoict.messengernoadspref.plist" -#define PREF_CHANGED_NOTIF "com.haoict.messengernoadspref/PrefChanged" - -@implementation MNARootListController -- (id)init { - self = [super init]; - if (self) { - self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:[HaoPSUtil localizedItem:@"APPLY"] style:UIBarButtonItemStylePlain target:self action:@selector(apply)];; - } - return self; -} -- (void)viewWillAppear:(BOOL)animated { - [super viewWillAppear:animated]; - // set switches color - UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; - self.view.tintColor = kTintColor; - keyWindow.tintColor = kTintColor; - [UISwitch appearanceWhenContainedInInstancesOfClasses:@[self.class]].onTintColor = kTintColor; - // set navigation bar color - self.navigationController.navigationController.navigationBar.barTintColor = kTintColor; - self.navigationController.navigationController.navigationBar.tintColor = [UIColor whiteColor]; - [self.navigationController.navigationController.navigationBar setShadowImage: [UIImage new]]; -} -- (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; - [self.navigationController.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor]}]; -} -- (void)viewWillDisappear:(BOOL)animated { - [super viewWillDisappear:animated]; - UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; - keyWindow.tintColor = nil; - self.navigationController.navigationController.navigationBar.barTintColor = nil; - self.navigationController.navigationController.navigationBar.tintColor = nil; - [self.navigationController.navigationController.navigationBar setShadowImage:nil]; - [self.navigationController.navigationController.navigationBar setTitleTextAttributes:nil]; -} - -- (NSArray *)specifiers { - if (!_specifiers) { - _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self]; - } - - /** Disable Hide Search Bar for ios 13 - begin **/ - if (@available(iOS 13, *)) { - for (PSSpecifier *spec in _specifiers) { - if ([[spec.properties objectForKey:@"key"] isEqual:@"hidesearchbar"]) { - [spec setProperty:@FALSE forKey:@"enabled"]; - } - } - } - /** Disable Hide Search Bar for ios 13 - end **/ - - return _specifiers; -} -- (void)setPreferenceValue:(id)value specifier:(PSSpecifier *)specifier { - NSMutableDictionary *settings = [[NSMutableDictionary alloc] initWithContentsOfFile:@PLIST_PATH] ?: [@{} mutableCopy]; - [settings setObject:value forKey:[[specifier properties] objectForKey:@"key"]]; - [settings writeToFile:@PLIST_PATH atomically:YES]; - notify_post(PREF_CHANGED_NOTIF); -} -- (id)readPreferenceValue:(PSSpecifier *)specifier { - NSDictionary *settings = [[NSDictionary alloc] initWithContentsOfFile:@PLIST_PATH]; - return settings[[[specifier properties] objectForKey:@"key"]] ?: [[specifier properties] objectForKey:@"default"]; -} -- (void)resetSettings:(PSSpecifier *)specifier { - [@{} writeToFile:@PLIST_PATH atomically:YES]; - [self reloadSpecifiers]; - notify_post(PREF_CHANGED_NOTIF); -} -- (void)openURL:(PSSpecifier *)specifier { - UIApplication *app = [UIApplication sharedApplication]; - NSString *url = [specifier.properties objectForKey:@"url"]; - [app openURL:[NSURL URLWithString:url] options:@{} completionHandler:nil]; -} - -/** - * Apply top right button - */ --(void)apply { - UIAlertController *killConfirm = [UIAlertController alertControllerWithTitle:@TWEAK_TITLE message:[HaoPSUtil localizedItem:@"DO_YOU_REALLY_WANT_TO_KILL_MESSENGER"] preferredStyle:UIAlertControllerStyleAlert]; - UIAlertAction *confirmAction = [UIAlertAction actionWithTitle:[HaoPSUtil localizedItem:@"CONFIRM"] style:UIAlertActionStyleDestructive handler:^(UIAlertAction * action) { - NSTask *killall = [[NSTask alloc] init]; - [killall setLaunchPath:@"/usr/bin/killall"]; - [killall setArguments:@[@"-9", @"Messenger", @"LightSpeedApp"]]; - [killall launch]; - }]; - - UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:[HaoPSUtil localizedItem:@"CANCEL"] style:UIAlertActionStyleCancel handler:nil]; - [killConfirm addAction:confirmAction]; - [killConfirm addAction:cancelAction]; - [self presentViewController:killConfirm animated:YES completion:nil]; -} - -- (void)respring { - NSTask *killall = [[NSTask alloc] init]; - [killall setLaunchPath:@"/usr/bin/killall"]; - [killall setArguments:[NSArray arrayWithObjects:@"backboardd", nil]]; - [killall launch]; -} - -@end diff --git a/pref/Makefile b/pref/Makefile deleted file mode 100755 index 46d0e05..0000000 --- a/pref/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -ARCHS = arm64 arm64e - -include $(THEOS)/makefiles/common.mk - -BUNDLE_NAME = MNAPref -MNAPref_FILES = $(wildcard *.m) -MNAPref_INSTALL_PATH = /Library/PreferenceBundles -MNAPref_PRIVATE_FRAMEWORKS = Preferences -MNAPref_CFLAGS = -fobjc-arc - -include $(THEOS_MAKE_PATH)/bundle.mk - -internal-stage:: - $(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END) - $(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/MNAPref.plist$(ECHO_END) diff --git a/pref/Resources/Banner.jpg b/pref/Resources/Banner.jpg deleted file mode 100644 index 1e8b6ff..0000000 Binary files a/pref/Resources/Banner.jpg and /dev/null differ diff --git a/pref/Resources/Info.plist b/pref/Resources/Info.plist deleted file mode 100755 index 4ab6774..0000000 --- a/pref/Resources/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - MNAPref - CFBundleIdentifier - com.haoict.messengernoadspref - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - MNARootListController - - diff --git a/pref/Resources/Localization-contribute.md b/pref/Resources/Localization-contribute.md deleted file mode 100644 index f782df5..0000000 --- a/pref/Resources/Localization-contribute.md +++ /dev/null @@ -1,39 +0,0 @@ -I'm working on localization, if you like my tweak and want to help, you can help me translate to your language. - -(Finished languages are here: https://github.com/haoict/messenger-no-ads/tree/master/pref/Resources) - -Here are base strings - -``` -"APPLY" = "Apply"; -"DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Do you really want to kill Messenger?"; -"CONFIRM" = "Confirm"; -"CANCEL" = "Cancel"; -"MAIN_PREFERENCES" = "Main Preferences"; -"NO_ADS" = "No Ads"; -"DISABLE_READ_RECEIPT" = "Disable Read Receipt"; -"DISABLE_TYPING_INDICATOR" = "Disable Typing Indicator"; -"DISABLE_STORY_SEEN_RECEIPT" = "Disable Story Seen Receipt"; -"CAN_SAVE_FRIENDS_STORY" = "Can Save Friend's Story"; -"HIDE_SEARCH_BAR" = "Hide Search Bar (iOS 12 only)"; -"HIDE_STORIES_ROW" = "Hide Stories Row"; -"HIDE_PEOPLE_TAB" = "Hide People Tab"; -"OTHER_PREFERENCES" = "Other Preferences"; -"RESET_SETTINGS" = "Reset Settings"; -"SUPPORT_ME" = "Support Me"; -"DONATION" = "Donation 💰"; -"BUY_ME_A_COFFEE" = "Buy me a coffee"; -"FEATURE_REQUEST" = "Feature Request ✨"; -"SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "Send Me An Email With Your Request"; -"SOURCE_CODE" = "Source Code 🤖"; -"FOUND_A_BUG" = "Found A Bug 🐛"; -"LEAVE_A_BUG_REPORT_ON_GITHUB" = "Leave A Bug Report on Github"; -``` - -After you finished translation, Please save and name it with your language code (if you don't know, just write down your country name) - -E.g: English -> en, Japanese -> ja, Vietnamese -> vi... - -And your nick name, I will add to Contributors part. - -Finally, send me the result to my email "hao.ict56@gmail.com" or open issue on github. diff --git a/pref/Resources/Root.plist b/pref/Resources/Root.plist deleted file mode 100755 index 0672a9f..0000000 --- a/pref/Resources/Root.plist +++ /dev/null @@ -1,277 +0,0 @@ - - - - - items - - - cell - PSGroupCell - headerCellClass - HaoPSHeaderImageCellCustom - image - /Library/PreferenceBundles/MNAPref.bundle/Banner.jpg - - - - - - cell - PSGroupCell - label - MAIN_PREFERENCES - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - noads - label - NO_ADS - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - disablereadreceipt - label - DISABLE_READ_RECEIPT - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - disabletypingindicator - label - DISABLE_TYPING_INDICATOR - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - disablestoryseenreceipt - label - DISABLE_STORY_SEEN_RECEIPT - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - cansavefriendsstory - label - CAN_SAVE_FRIENDS_STORY - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - hidesearchbar - label - HIDE_SEARCH_BAR - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - hidestoriesrow - label - HIDE_STORIES_ROW - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - cell - PSSwitchCell - cellClass - HaoPSSwitchCellCustom - default - - defaults - com.haoict.messengernoadspref - key - hidepeopletab - label - HIDE_PEOPLE_TAB - PostNotification - com.haoict.messengernoadspref/PrefChanged - - - - - cell - PSGroupCell - label - OTHER_PREFERENCES - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - RESET_SETTINGS - action - resetSettings: - - - - - cell - PSGroupCell - label - SUPPORT_ME - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - Hao Nguyen 👨🏻‍💻 - subtitle - @haoict - action - openURL: - url - https://twitter.com/haoict - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - DONATION - subtitle - BUY_ME_A_COFFEE - action - openURL: - url - https://paypal.me/haoict - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - FEATURE_REQUEST - subtitle - SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST - action - openURL: - url - mailto:hao.ict56@gmail.com?subject=Messenger%20No%20Ads%20Feature%20Request - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - SOURCE_CODE - subtitle - Github - action - openURL: - url - https://github.com/haoict/messenger-no-ads - - - cell - PSLinkCell - cellClass - HaoPSLinkCellCustom - label - FOUND_A_BUG - subtitle - LEAVE_A_BUG_REPORT_ON_GITHUB - action - openURL: - url - https://github.com/haoict/messenger-no-ads/issues/new - - - - cell - PSGroupCell - footerText - Messenger No Ads, Made With ❤️ - isStaticText - - - - - title - Messenger No Ads - - diff --git a/pref/Resources/ar.lproj/Root.strings b/pref/Resources/ar.lproj/Root.strings deleted file mode 100644 index 07bbaf9..0000000 --- a/pref/Resources/ar.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "تطبيق"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "هل تريد فعلا اغلاق المسنجر؟"; - "CONFIRM" = "موافق"; - "CANCEL" = "الغاء"; - "MAIN_PREFERENCES" = "الخصائص الرئيسيه"; - "NO_ADS" = "الغاء الاعلانات"; - "DISABLE_READ_RECEIPT" = "الغاء مشاهده تمت القراءة من الطرف الاخر"; - "DISABLE_TYPING_INDICATOR" = "الغاء مشاهده يقوم بالكتابه الان"; - "DISABLE_STORY_SEEN_RECEIPT" = "الغاء تمت المشاهده من الطرف الاخر"; - "CAN_SAVE_FRIENDS_STORY" = "تفعيل حفظ الحاله للاصدقاء"; - "HIDE_SEARCH_BAR" = "اخفاء شريط البحث - تعمل فقط مع الاصدار 12"; - "HIDE_STORIES_ROW" = "الغاء شريط الحاله"; - "HIDE_PEOPLE_TAB" = "اخفاء ايقونه الاشخاص"; - "OTHER_PREFERENCES" = "الاعدادات الاخرى"; - "RESET_SETTINGS" = "اعاده ضبط الاعدادات"; - "SUPPORT_ME" = "ادعمني"; - "DONATION" = "تبرع 💰"; - "BUY_ME_A_COFFEE" = "ساعدني بالتبرع بفنجان قهوه "; - "FEATURE_REQUEST" = "طلب ميزه ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "ارسال ايميل بما تود اقتراحه من كيزات اخرى"; - "SOURCE_CODE" = "كود المصدر 🤖"; - "FOUND_A_BUG" = "وجدت مشكله ، بلغ عنها 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "التبليغ عن مشكله عن طريق Github"; -} \ No newline at end of file diff --git a/pref/Resources/base.lproj/Root.strings b/pref/Resources/base.lproj/Root.strings deleted file mode 100644 index 9e7ac18..0000000 --- a/pref/Resources/base.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "Apply"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Do you really want to kill Messenger?"; - "CONFIRM" = "Confirm"; - "CANCEL" = "Cancel"; - "MAIN_PREFERENCES" = "Main Preferences"; - "NO_ADS" = "No Ads"; - "DISABLE_READ_RECEIPT" = "Disable Read Receipt"; - "DISABLE_TYPING_INDICATOR" = "Disable Typing Indicator"; - "DISABLE_STORY_SEEN_RECEIPT" = "Disable Story Seen Receipt"; - "CAN_SAVE_FRIENDS_STORY" = "Can Save Friend's Story"; - "HIDE_SEARCH_BAR" = "Hide Search Bar (iOS 12 only)"; - "HIDE_STORIES_ROW" = "Hide Stories Row"; - "HIDE_PEOPLE_TAB" = "Hide People Tab"; - "OTHER_PREFERENCES" = "Other Preferences"; - "RESET_SETTINGS" = "Reset Settings"; - "SUPPORT_ME" = "Support Me"; - "DONATION" = "Donation 💰"; - "BUY_ME_A_COFFEE" = "Buy me a coffee"; - "FEATURE_REQUEST" = "Feature Request ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "Send Me An Email With Your Request"; - "SOURCE_CODE" = "Source Code 🤖"; - "FOUND_A_BUG" = "Found A Bug 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "Leave A Bug Report on Github"; -} \ No newline at end of file diff --git a/pref/Resources/en.lproj/Root.strings b/pref/Resources/en.lproj/Root.strings deleted file mode 100644 index 9e7ac18..0000000 --- a/pref/Resources/en.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "Apply"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Do you really want to kill Messenger?"; - "CONFIRM" = "Confirm"; - "CANCEL" = "Cancel"; - "MAIN_PREFERENCES" = "Main Preferences"; - "NO_ADS" = "No Ads"; - "DISABLE_READ_RECEIPT" = "Disable Read Receipt"; - "DISABLE_TYPING_INDICATOR" = "Disable Typing Indicator"; - "DISABLE_STORY_SEEN_RECEIPT" = "Disable Story Seen Receipt"; - "CAN_SAVE_FRIENDS_STORY" = "Can Save Friend's Story"; - "HIDE_SEARCH_BAR" = "Hide Search Bar (iOS 12 only)"; - "HIDE_STORIES_ROW" = "Hide Stories Row"; - "HIDE_PEOPLE_TAB" = "Hide People Tab"; - "OTHER_PREFERENCES" = "Other Preferences"; - "RESET_SETTINGS" = "Reset Settings"; - "SUPPORT_ME" = "Support Me"; - "DONATION" = "Donation 💰"; - "BUY_ME_A_COFFEE" = "Buy me a coffee"; - "FEATURE_REQUEST" = "Feature Request ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "Send Me An Email With Your Request"; - "SOURCE_CODE" = "Source Code 🤖"; - "FOUND_A_BUG" = "Found A Bug 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "Leave A Bug Report on Github"; -} \ No newline at end of file diff --git a/pref/Resources/fr.lproj/Root.strings b/pref/Resources/fr.lproj/Root.strings deleted file mode 100644 index 8d61432..0000000 --- a/pref/Resources/fr.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "Appliquer"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Voulez-vous vraiment fermer Messenger?"; - "CONFIRM" = "Confirmer"; - "CANCEL" = "Annuler"; - "MAIN_PREFERENCES" = "Réglages principaux"; - "NO_ADS" = "Pas de publicité"; - "DISABLE_READ_RECEIPT" = "Désactiver confirmation de lecture"; - "DISABLE_TYPING_INDICATOR" = "Désactiver indicateur d'écriture"; - "DISABLE_STORY_SEEN_RECEIPT" = "Désactiver confirmation de vue Story"; - "CAN_SAVE_FRIENDS_STORY" = "Enregistrer la Story d'un ami"; - "HIDE_SEARCH_BAR" = "Cacher barre de recherche (iOS12)"; - "HIDE_STORIES_ROW" = "Cacher la rangée des Stories"; - "HIDE_PEOPLE_TAB" = "Cacher l'onglet Personnes"; - "OTHER_PREFERENCES" = "Autres réglages"; - "RESET_SETTINGS" = "Réinitialiser les réglages"; - "SUPPORT_ME" = "Me soutenir"; - "DONATION" = "Contribution 💰"; - "BUY_ME_A_COFFEE" = "Me payer un café"; - "FEATURE_REQUEST" = "Demande de fonctionnalité ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "M'envoyer un email avec votre demande"; - "SOURCE_CODE" = "Code Source 🤖"; - "FOUND_A_BUG" = "J'ai trouvé un bug 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "Laisser un rapport de bug sur Github"; -} \ No newline at end of file diff --git a/pref/Resources/icon.png b/pref/Resources/icon.png deleted file mode 100644 index 5d8d037..0000000 Binary files a/pref/Resources/icon.png and /dev/null differ diff --git a/pref/Resources/icon@2x.png b/pref/Resources/icon@2x.png deleted file mode 100644 index 696cff1..0000000 Binary files a/pref/Resources/icon@2x.png and /dev/null differ diff --git a/pref/Resources/nl.lproj/Root.strings b/pref/Resources/nl.lproj/Root.strings deleted file mode 100644 index 5f730e4..0000000 --- a/pref/Resources/nl.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "Toepassen"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Wil je Messenger echt afsluiten?"; - "CONFIRM" = "Bevestig"; - "CANCEL" = "Annuleren"; - "MAIN_PREFERENCES" = "Hoofdvoorkeuren"; - "NO_ADS" = "Geen advertenties"; - "DISABLE_READ_RECEIPT" = "Leesbevestiging uitschakelen"; - "DISABLE_TYPING_INDICATOR" = "Typindicator uitschakelen"; - "DISABLE_STORY_SEEN_RECEIPT" = "Gezien ontvangstbewijs uitschakelen"; - "CAN_SAVE_FRIENDS_STORY" = "Kan het verhaal van een vriend opslaan"; - "HIDE_SEARCH_BAR" = "Zoekbalk verbergen (alleen iOS 12)"; - "HIDE_STORIES_ROW" = "Verhalenrij verbergen"; - "HIDE_PEOPLE_TAB" = "Tabblad Personen verbergen"; - "OTHER_PREFERENCES" = "Andere voorkeuren"; - "RESET_SETTINGS" = "Instellingen resetten"; - "SUPPORT_ME" = "Steun mij"; - "DONATION" = "Donatie 💰"; - "BUY_ME_A_COFFEE" = "Koop me een kopje koffie"; - "FEATURE_REQUEST" = "Functieverzoek ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "Stuur me een e-mail met uw verzoek"; - "SOURCE_CODE" = "Broncode 🤖"; - "FOUND_A_BUG" = "Bug gevonden 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "Laat een bugrapport achter op Github"; -} \ No newline at end of file diff --git a/pref/Resources/vi.lproj/Root.strings b/pref/Resources/vi.lproj/Root.strings deleted file mode 100644 index 424a26a..0000000 --- a/pref/Resources/vi.lproj/Root.strings +++ /dev/null @@ -1,25 +0,0 @@ -{ - "APPLY" = "Áp dụng"; - "DO_YOU_REALLY_WANT_TO_KILL_MESSENGER" = "Bạn có muốn tắt Messenger?"; - "CONFIRM" = "Xác nhận"; - "CANCEL" = "Hủy"; - "MAIN_PREFERENCES" = "Tùy chỉnh chính"; - "NO_ADS" = "Gỡ quảng cáo"; - "DISABLE_READ_RECEIPT" = "Tắt đã xem tin nhắn"; - "DISABLE_TYPING_INDICATOR" = "Tắt đang gõ"; - "DISABLE_STORY_SEEN_RECEIPT" = "Tắt đã xem story"; - "CAN_SAVE_FRIENDS_STORY" = "Bật lưu story của bạn bè"; - "HIDE_SEARCH_BAR" = "Ẩn ô tìm kiếm (iOS 12)"; - "HIDE_STORIES_ROW" = "Ẩn hàng story"; - "HIDE_PEOPLE_TAB" = "Ẩn tab Mọi người"; - "OTHER_PREFERENCES" = "Tùy chỉnh phụ"; - "RESET_SETTINGS" = "Đặt lại tùy chỉnh"; - "SUPPORT_ME" = "Hỗ trợ tôi"; - "DONATION" = "Ủng hộ 💰"; - "BUY_ME_A_COFFEE" = "Mua giúp tôi một ly cà phê"; - "FEATURE_REQUEST" = "Yêu cầu thêm tính năng ✨"; - "SEND_ME_AN_EMAIL_WITH_YOUR_REQUEST" = "Gửi email yêu cầu"; - "SOURCE_CODE" = "Mã nguồn 🤖"; - "FOUND_A_BUG" = "Tìm thấy lỗi 🐛"; - "LEAVE_A_BUG_REPORT_ON_GITHUB" = "Báo lỗi trên Github"; -} \ No newline at end of file diff --git a/pref/entry.plist b/pref/entry.plist deleted file mode 100755 index 6e79586..0000000 --- a/pref/entry.plist +++ /dev/null @@ -1,21 +0,0 @@ - - - - - entry - - bundle - MNAPref - cell - PSLinkCell - detail - MNARootListController - icon - icon.png - isController - - label - Messenger No Ads - - - diff --git a/release/com.haoict.messengernoads-beta_3.0.0~b3_iphoneos-arm.deb b/release/com.haoict.messengernoads-beta_3.0.0~b3_iphoneos-arm.deb deleted file mode 100644 index f26432a..0000000 Binary files a/release/com.haoict.messengernoads-beta_3.0.0~b3_iphoneos-arm.deb and /dev/null differ diff --git a/release/com.haoict.messengernoads_3.0.0_iphoneos-arm.deb b/release/com.haoict.messengernoads_3.0.0_iphoneos-arm.deb new file mode 100644 index 0000000..bbbcc00 Binary files /dev/null and b/release/com.haoict.messengernoads_3.0.0_iphoneos-arm.deb differ