changed manifest for easier update #97
|
|
@ -375,7 +375,7 @@ async function packageBuild() {
|
||||||
if (!fs.existsSync(distPath)) fs.mkdirSync(distPath);
|
if (!fs.existsSync(distPath)) fs.mkdirSync(distPath);
|
||||||
|
|
||||||
// Initialize the zip file
|
// Initialize the zip file
|
||||||
const zipName = `${manifest.file.name}.zip`;
|
const zipName = `${manifest.file.name}-v${manifest.file.version}.zip`;
|
||||||
const zipFile = fs.createWriteStream(zipName);
|
const zipFile = fs.createWriteStream(zipName);
|
||||||
const zip = archiver("zip", { zlib: { level: 9 } });
|
const zip = archiver("zip", { zlib: { level: 9 } });
|
||||||
zipFile.on("close", () => {
|
zipFile.on("close", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue