fix: build update url bug
This commit is contained in:
parent
23ffc5fdf8
commit
ddb2bc6898
@ -25,7 +25,7 @@ const buildDir = "build";
|
|||||||
const isPreRelease = version.includes("-");
|
const isPreRelease = version.includes("-");
|
||||||
|
|
||||||
// If it is a pre-release, use update-beta.json
|
// If it is a pre-release, use update-beta.json
|
||||||
config.updateURL = isPreRelease ? config.updateJSONBeta : config.updateBetaJSON;
|
config.updateURL = isPreRelease ? config.updateBetaJSON : config.updateJSON;
|
||||||
|
|
||||||
const updateJSONFile = isPreRelease ? "update-beta.json" : "update.json";
|
const updateJSONFile = isPreRelease ? "update-beta.json" : "update.json";
|
||||||
const updateLink = isPreRelease
|
const updateLink = isPreRelease
|
||||||
|
Loading…
x
Reference in New Issue
Block a user