mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-22 15:00:38 -04:00
Fix an issue with ignored folders being copied to addons
This commit is contained in:
@@ -911,6 +911,9 @@ export class AddonService {
|
||||
const addonFolderPath = this._warcraftService.getAddonFolderPath(installation);
|
||||
const unzippedFolders = await this._fileService.listDirectories(unzippedDirectory);
|
||||
for (const unzippedFolder of unzippedFolders) {
|
||||
if (IGNORED_FOLDER_NAMES.includes(unzippedFolder)) {
|
||||
continue;
|
||||
}
|
||||
const unzippedFilePath = path.join(unzippedDirectory, unzippedFolder);
|
||||
const unzipLocation = path.join(addonFolderPath, unzippedFolder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user