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) {
+1 -1
View File
@@ -4,4 +4,4 @@ version=V2.2-2208
versionCode=2208
author=酷安@Yule
description=本模块旨在让你的 Android 设备随时可以使用高亮度显示屏幕内容。无论设备当前亮度如何,只要满足设定的前台触发亮度条件,模块便会自动且平滑地提升屏幕亮度至硬件支持的峰值状态,确保你在强光室外也能获得清晰的显示效果
updateJson=https://share.yule.ink/magisk/mod/luminpro/update.json
updateJson=https://raw.githubusercontent.com/YuleBest/LuminPro/main/update.json
+1 -1
View File
@@ -2,5 +2,5 @@
"versionCode": 2208,
"version": "V2.2-2208",
"zipUrl": "https://share.yule.ink/magisk/mod/luminpro/module/LuminPro_V2.2-2208.zip",
"changelog": "https://share.yule.ink/magisk/mod/luminpro/changelog.md"
"changelog": "https://raw.githubusercontent.com/YuleBest/LuminPro/main/changelog.md"
}