forked from EVOgeek/Vmeda.Online
		
	Merge pull request #2246 from dpalou/MOBILE-3302
MOBILE-3302 desktop: Fix unzip files in desktop apps
This commit is contained in:
		
						commit
						17ca2d186f
					
				| @ -85,8 +85,8 @@ export class ZipMock extends Zip { | |||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             // First of all, create the directory where the files will be unzipped.
 |             // First of all, create the directory where the files will be unzipped.
 | ||||||
|             const destParent = destination.substring(0, source.lastIndexOf('/')), |             const destParent = destination.substring(0, destination.lastIndexOf('/')), | ||||||
|                 destFolderName = destination.substr(source.lastIndexOf('/') + 1); |                 destFolderName = destination.substr(destination.lastIndexOf('/') + 1); | ||||||
| 
 | 
 | ||||||
|             return this.file.createDir(destParent, destFolderName, true); |             return this.file.createDir(destParent, destFolderName, true); | ||||||
|         }).then(() => { |         }).then(() => { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user