mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 13:53:11 +08:00
extend new patchType: *.apk.hpatch & *.ppk.hpatch
This commit is contained in:
@@ -88,6 +88,19 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void)hdiffFileAtPath:(NSString *)path
|
||||
fromOrigin:(NSString *)origin
|
||||
toDestination:(NSString *)destination
|
||||
completionHandler:(void (^)(BOOL success))completionHandler
|
||||
{
|
||||
dispatch_async(_opQueue, ^{
|
||||
BOOL success = [BSDiff hdiffPatch:path origin:origin toDestination:destination];
|
||||
if (completionHandler) {
|
||||
completionHandler(success);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
- (void)copyFiles:(NSDictionary *)filesDic
|
||||
fromDir:(NSString *)fromDir
|
||||
toDir:(NSString *)toDir
|
||||
|
||||
Reference in New Issue
Block a user