diff --git a/build-module.js b/build-module.js index 154aab8..58dfde3 100644 --- a/build-module.js +++ b/build-module.js @@ -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) { diff --git a/module.prop b/module.prop index baebe9c..5033168 100755 --- a/module.prop +++ b/module.prop @@ -4,4 +4,4 @@ version=V2.2-2208 versionCode=2208 author=酷安@Yule description=本模块旨在让你的 Android 设备随时可以使用高亮度显示屏幕内容。无论设备当前亮度如何,只要满足设定的前台触发亮度条件,模块便会自动且平滑地提升屏幕亮度至硬件支持的峰值状态,确保你在强光室外也能获得清晰的显示效果 -updateJson=https://share.yule.ink/magisk/mod/luminpro/update.json \ No newline at end of file +updateJson=https://raw.githubusercontent.com/YuleBest/LuminPro/main/update.json \ No newline at end of file diff --git a/update.json b/update.json index 6732032..dcf2b2c 100644 --- a/update.json +++ b/update.json @@ -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" } \ No newline at end of file