[feat] easytier-magisk模块安装时检测旧版配置与迁移,更新module.prop与magisk_update.json以让管理器检测正确的versionCode
Author: 5kindCreated Sep 17, 2026Updated Sep 18, 2026
功能类别 / Feature Category
平台支持 / Platform Support
使用场景 / Use Case
- 在安装模块时,正确迁移旧配置而无需重复配置
- 让模块管理器可以通过检测
magisk_update.json中的versionCode与本地module.prop对比以接收更新
当前限制 / Current Limitations
- 当前配置路径固定为
/data/adb/modules/easytier_magisk/config,切无迁移旧版本的逻辑 - 当前
versionCode恒为1,模块管理器无法正确接收更新
建议的解决方案 / Proposed Solution
- 在模块安装脚本
customize.sh添加旧版本配置迁移逻辑 - 添加
magisk-version.yml工作流,自动检测easytier-contrib/easytier-magisk/module.prop的更新并依据git rev-list --count HEAD -- "easytier-contrib/easytier-magisk"的结果作为versionCode - 添加
magisk-update.yml工作流,在正式发版时检测release中模块的module.prop并更新magisk_update.json
预期收益 / Expected Benefits
No response
技术考虑 / Technical Considerations
No response
备选方案 / Alternative Solutions
No response
实现优先级 / Implementation Priority
No response
补充信息 / Additional Context
No response
Source: EasyTier/EasyTier