remove scripts

This commit is contained in:
Donovan Daniels 2021-03-03 03:57:36 -06:00
parent 5d85081001
commit a15a3cf76a
No known key found for this signature in database
GPG Key ID: 119015B695F844A6

View File

@ -1,10 +0,0 @@
const fs = require("fs");
if (!process.argv[2]) throw new TypeError("missing version");
const list = ["1.13", "1.14", "1.15", "1.16", "1.17"];
for (const d of list) {
const f = JSON.parse(fs.readFileSync(`${__dirname}/../${d}/pack.mcmeta`));
const o = f.pack.version.git;
f.pack.version.git = process.argv[2];
fs.writeFileSync(`${__dirname}/../${d}/pack.mcmeta`, JSON.stringify(f, null, "\t"));
console.log(`Updated ${d} (${o} -> ${process.argv[2]})`);
}