fix: build update url bug

This commit is contained in:
windingwind 2023-09-15 16:01:13 +08:00
parent 23ffc5fdf8
commit ddb2bc6898

View File

@ -25,7 +25,7 @@ const buildDir = "build";
const isPreRelease = version.includes("-");
// 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 updateLink = isPreRelease