@jtff/miztemplate-lib 3.0.0-rc22 → 3.0.0-rc23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mizlib.js +1 -4
- package/package.json +1 -1
package/lib/mizlib.js
CHANGED
|
@@ -317,10 +317,7 @@ class Mizlib {
|
|
|
317
317
|
|
|
318
318
|
async injectSoundFoldersIntoZipObject(zip) {
|
|
319
319
|
if (fs.existsSync('resources/sounds') && fs.lstatSync('resources/sounds').isDirectory()) {
|
|
320
|
-
|
|
321
|
-
for (const folder of folderArray) {
|
|
322
|
-
await this.injectSingleSoundFolderIntoZipObject(zip, '.', folder, false);
|
|
323
|
-
}
|
|
320
|
+
await this.injectSingleSoundFolderIntoZipObject(zip, '.', 'resources/sounds', false);
|
|
324
321
|
}
|
|
325
322
|
if (fs.existsSync('.workspace/resources/sounds') && fs.lstatSync('.workspace/resources/sounds').isDirectory()) {
|
|
326
323
|
const folderArray = fs.readdirSync('.workspace/resources/sounds');
|