使用方法:
- 使用
mirror_sync.py生成manifest.json和dir_manifest.json文件。 - 将这两个文件上传到 oss 中,路径分别为
lastupdate/manifest.json和lastupdate/dir_manifest.json,外网访问路径分别为 https://resource.mcstaralliance.com/lastupdate/manifest.json 和 https://resource.mcstaralliance.com/lastupdate/dir_manifest.json 。 - 创建并上传
lastupdate/swith.txt,使用布尔值true或false表示是否开启MirroSync更新,外网访问路径为 https://resource.mcstaralliance.com/lastupdate/switch.txt 。