mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	[FIX]
This commit is contained in:
		| @@ -258,11 +258,17 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, Void, Void> { | ||||
|             String fn = ze.getName(); | ||||
|             ArrayList<File> targets = map.get(fn); | ||||
|             if (targets != null) { | ||||
|                 File lastTarget = null; | ||||
|                 for (File target: targets) { | ||||
|                     if (UpdateContext.DEBUG) { | ||||
|                         Log.d("RNUpdate", "Copying from resource " + fn + " to " + target); | ||||
|                     } | ||||
|                     unzipToFile(zis, target); | ||||
|                     if (lastTarget != null) { | ||||
|                         copyFile(lastTarget, target); | ||||
|                     } else { | ||||
|                         unzipToFile(zis, target); | ||||
|                         lastTarget = target; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yun
					Yun