mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	bugfixes
This commit is contained in:
		| @@ -60,19 +60,19 @@ export async function downloadUpdate(options) { | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|   if (options.diff) { | ||||
|   if (options.diffUrl) { | ||||
|     await HotUpdate.downloadPatchFromPpk({ | ||||
|       updateUrl: options.diffUrl, | ||||
|       hashName: options.hash, | ||||
|       originHash: currentVersion, | ||||
|     }); | ||||
|   } else if (options.diff) { | ||||
|   } else if (options.pdiffUrl) { | ||||
|     await HotUpdate.downloadPatchFromPackage({ | ||||
|       updateUrl: options.pdiffUrl, | ||||
|       hashName: options.hash, | ||||
|     }); | ||||
|   } else { | ||||
|     await HotUpdate.downloadPatchFromPackage({ | ||||
|     await HotUpdate.downloadUpdate({ | ||||
|       updateUrl: options.updateUrl, | ||||
|       hashName: options.hash, | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tdzl2003
					tdzl2003