@jtff/miztemplate-lib 3.10.9 → 3.10.11
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 +4 -0
- package/lua/lib/Moose_.lua +3181 -15686
- package/package.json +1 -1
package/lib/mizlib.js
CHANGED
|
@@ -334,6 +334,10 @@ class Mizlib {
|
|
|
334
334
|
zip.folder(['KNEEBOARD/', file, '/IMAGES/'].join('')),
|
|
335
335
|
[kneeboardsFolder,'/', file].join(''),
|
|
336
336
|
fs.readdirSync([kneeboardsFolder,'/', file].join('')));
|
|
337
|
+
} else {
|
|
338
|
+
zip.remove("KNEEBOARD/IMAGES/" + path.basename(file));
|
|
339
|
+
var stream = fs.createReadStream([kneeboardsFolder,'/', file].join(''));
|
|
340
|
+
zip.file("KNEEBOARD/IMAGES/" + path.basename(file), stream);
|
|
337
341
|
}
|
|
338
342
|
}
|
|
339
343
|
}
|