mirror of
https://github.com/YuleBest/LuminPro.git
synced 2026-12-04 00:54:42 +08:00
chore: 模块更新方面优化
This commit is contained in:
1 parent
2e98705f58
commit
21b4ad314a
3 files changed
+3
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user