chore: 模块更新方面优化

This commit is contained in:
YuleBest committed 2026-04-10 01:35:43 +08:00
1 parent 2e98705f58
commit 21b4ad314a
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ if (fs.existsSync(updateJsonPath)) {
updateJson.versionCode = versionCode;
updateJson.version = version;
updateJson.zipUrl = `https://share.yule.ink/magisk/mod/luminpro/module/${zipName}`;
updateJson.changelog = `https://raw.githubusercontent.com/YuleBest/LuminPro/main/changelog.md`;
fs.writeFileSync(updateJsonPath, JSON.stringify(updateJson, null, 4), 'utf-8');
console.log(`>>> [1/3] 已同步 update.json (版本: ${version}, Code: ${versionCode})`);
} catch (e) {