This commit is contained in:
2025-03-20 22:29:36 +01:00
parent 5f5d8277b9
commit 824ecfab2e
26 changed files with 4380 additions and 2764 deletions

View File

@@ -1,10 +1,10 @@
import fs from "fs";
const packagejson = JSON.parse(
fs.readFileSync(`./package.json`, { encoding: "utf-8" })
fs.readFileSync(`./package.json`, { encoding: "utf-8" }),
);
const original = fs.readFileSync(`./index.html`, { encoding: "utf-8" });
let out = original.replace(
/RELEASE_INFO-(\S)+-RELEASE_INFO/gi,
"RELEASE_INFO-" + packagejson.version + "-RELEASE_INFO"
"RELEASE_INFO-" + packagejson.version + "-RELEASE_INFO",
);
fs.writeFileSync(`./index.html`, out);