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