This commit is contained in:
1 parent
a7098dd30a
commit
e87f1232dd
1 file changed
+2
-2
+2
-2
@@ -18,8 +18,8 @@ if (fs.existsSync(systemJsonPath)) {
|
|||||||
const systemJson = JSON.parse(fs.readFileSync(systemJsonPath, "utf8"));
|
const systemJson = JSON.parse(fs.readFileSync(systemJsonPath, "utf8"));
|
||||||
|
|
||||||
systemJson.version = cleanVersion;
|
systemJson.version = cleanVersion;
|
||||||
systemJson.manifest = `${GITEA_URL}/api/v1/repos/${REPO}/raw/system.json`;
|
systemJson.manifest = `${GITEA_URL}/${REPO}/releases/download/${RELEASE_TAG}/system.json`;
|
||||||
systemJson.download = `${GITEA_URL}/api/v1/repos/${REPO}/releases/download/${RELEASE_TAG}/midgard6-lvd.zip`;
|
systemJson.download = `${GITEA_URL}/${REPO}/releases/download/${RELEASE_TAG}/midgard6-lvd.zip`;
|
||||||
|
|
||||||
fs.writeFileSync(systemJsonPath, JSON.stringify(systemJson, null, 2));
|
fs.writeFileSync(systemJsonPath, JSON.stringify(systemJson, null, 2));
|
||||||
console.log(
|
console.log(
|
||||||
|
|||||||
Reference in new issue
Block a user