Skip to content

Commit

Permalink
Support MindMac
Browse files Browse the repository at this point in the history
  • Loading branch information
marlkiller committed Sep 7, 2024
1 parent 611d1c3 commit a136fac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
| TablePlus | 6.* ||| https://tableplus.com/ | | |
| DevUtils | 1.* ||| https://devutils.com/ | | |
| AirBuddy | 2.* ||| https://v2.airbuddy.app/download | | |
| Navicat Premium | 17.* ||| App Store | | QiuChenlyOpenSource |
| Navicat Premium | 17.* ||| App Store | | |
| Paste | 4.1.3 ||| App Store | | LeeeMooo |
| Transmit | 5.* ||| https://panic.com/transmit/#download | | |
| AnyGo | 7.* ||| https://itoolab.com/gps-location-changer/ | | |
Expand Down
9 changes: 9 additions & 0 deletions dylib_dobby_hook/apps/PaddleBaseHack.m
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,15 @@ - (BOOL)hack {
swizzledClass:[self class]
swizzledSelector:NSSelectorFromString(@"hook_dataTaskWithRequest:completionHandler:")
];

if ([[Constant currentAppName] containsString:@"mindmac"]) {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:@"Basic" forKey:@"licenseType"];
[defaults setObject:@YES forKey:@"licenseStatusChanged"];
[defaults synchronize];
}


return YES;
}
@end

0 comments on commit a136fac

Please sign in to comment.