Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Prefs For Matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville committed Mar 4, 2016
1 parent 7bdf270 commit db72b0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Hooks/Utils/Utils.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ -(NSArray*)possibleClassNameFromSignature:(NSString*)className{
-(void)setupSignatureDatabase{
#ifdef WTFJHTWEAKNAME
#pragma message "Don't Change This Filename Or Setup Will Crash:" Meh(WTFJHTWEAKNAME)
NSDictionary* prefs=[[NSMutableDictionary alloc] initWithContentsOfFile:preferenceFilePath];
self.MinimumMatchConfidence=[prefs objectForKey:@"MinimumMatchConfidence"];
[prefs release];
for(int i=0;i<_dyld_image_count();i++){
const char * Nam=_dyld_get_image_name(i);
NSString* curName=[NSString stringWithUTF8String:Nam];
Expand Down
9 changes: 9 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ def BuildPF():
"default": False,
"defaults": "naville.wtfjh"
}
Plist["items"].append(Dict)#Deobfuscation Confidence
Dict = {
"cell": "PSEditTextCell",
"keyboard": "numbers",
"placeholder": 0.8,
"bestGuess":0.8,
"isNumeric": True,
"defaults": "naville.wtfjh"
}
Plist["items"].append(Dict)
Dict = {
"cell": "PSSwitchCell",
Expand Down

0 comments on commit db72b0f

Please sign in to comment.