move versionBaseUrl to the top of releases.js
This commit is contained in:
parent
afd52089f6
commit
ed1231475e
@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const baseUrl = "https://seamlessupdate.app/";
|
||||
const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
|
||||
const devices = ["blueline", "crosshatch", "taimen", "walleye"];
|
||||
const channels = ["stable", "beta"];
|
||||
|
||||
@ -43,8 +44,6 @@ for (const channel of channels) {
|
||||
}).then(text => {
|
||||
const metadata = text.trim().split(" ");
|
||||
|
||||
const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
|
||||
|
||||
const factoryFilename = device + "-factory-" + metadata[0] + ".zip";
|
||||
const factoryUrl = baseUrl + factoryFilename;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user