diff --git a/wowup-electron/src/app/services/addons/addon.service.ts b/wowup-electron/src/app/services/addons/addon.service.ts index 75eb0b79..b820d6df 100644 --- a/wowup-electron/src/app/services/addons/addon.service.ts +++ b/wowup-electron/src/app/services/addons/addon.service.ts @@ -617,9 +617,9 @@ export class AddonService { }); const unzipPath = path.join(this._wowUpService.applicationDownloadsFolderPath, uuidv4()); - unzippedDirectory = await this._fileService.unzipFile(downloadedFilePath, unzipPath); try { + unzippedDirectory = await this._fileService.unzipFile(downloadedFilePath, unzipPath); await this.installUnzippedDirectory(unzippedDirectory, installation); } catch (err) { console.error(err);