Instructions to follow soon...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is my first .mk files to get theos work and compile tweaks through Cygwin, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BOOL tweakEnBOOL; | |
#define SETTINGSFILENEW "com.imokhles.Prefs" | |
#define PREFERENCES_CHANGED_NOTIFICATION "com.imokhles.Prefs.preferences-changed" | |
// non ARC | |
static void iMoLoadPreferences() { | |
CFPreferencesAppSynchronize(CFSTR(SETTINGSFILENEW)); | |
tweakEnBOOL = !CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW)) ? YES : [(id)CFBridgingRelease(CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW))) boolValue]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BOOL tweakEnabled = NO; | |
static void PreferencesChangedCallback(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo) { | |
system("killall WhatsApp"); // kill app to apply changes ;) | |
NSDictionary *preferences = [[NSDictionary alloc] initWithContentsOfFile:@"TWEAK_PREFS_PATH"]; | |
tweakEnabled = [preferences[@"tweakEnabled"] boolValue]; | |
} | |
%ctor { | |
[[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidFinishLaunchingNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *block) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
// | |
// How to open iOS application using WatchKit | |
// | |
// Created by Mokhlas Hussein on 09/04/15. | |
// Copyright (c) 2015 iMokhles (Mokhlas Hussein). All rights reserved. | |
// | |
*/ | |
/******* Within the App Watch Extension *******/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <AddressBook/AddressBook.h> | |
@class SBApplication, CKConversation; | |
__attribute__((visibility("hidden"))) | |
@interface BioLockdownController : NSObject | |
+ (BioLockdownController *)sharedController; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSURL *originalFileName = [NSURL alloc]; | |
NSURL *RecordingPath =[NSURL fileURLWithPath:[appDelegate.RecordingPath stringByAppendingPathComponent: | |
[NSString stringWithFormat:@"RecordingFile.wav"]]]; | |
NSLog(@"LocalRecoding Path :%@",RecordingPath); | |
originalFileName=RecordingPath; | |
NSURL *temporaryFileName = [NSURL alloc]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// الكود المسئول عن عدم التكرار على اي بندل | |
// بعد فك التشفير | |
NSString *laptop_bundleIdentifier() { | |
NSString *origBundleId = @"othman.store.snapchat2"; | |
NSArray *array1 = [NSArray arrayWithObjects:@"othman.store.snapchat", @"com.toyopagroup.picaboo", nil]; | |
for ( int i = 0; i < 2; ++i ){ |