mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 13:53:11 +08:00
Remove bsdiff in ios
This commit is contained in:
13
lib/index.js
13
lib/index.js
@@ -172,19 +172,6 @@ export async function downloadUpdate(options, eventListeners) {
|
||||
updateUrl: options.pdiffUrl,
|
||||
hash: options.hash,
|
||||
});
|
||||
} else if (options.hdiffUrl) {
|
||||
logger('downloading hdiff');
|
||||
await Pushy.downloadHPatchFromPpk({
|
||||
updateUrl: options.hdiffUrl,
|
||||
hash: options.hash,
|
||||
originHash: currentVersion,
|
||||
});
|
||||
} else if (options.phdiffUrl) {
|
||||
logger('downloading phdiff');
|
||||
await Pushy.downloadHPatchFromPackage({
|
||||
updateUrl: options.phdiffUrl,
|
||||
hash: options.hash,
|
||||
});
|
||||
}
|
||||
progressHandler && progressHandler.remove();
|
||||
return options.hash;
|
||||
|
||||
Reference in New Issue
Block a user