diff --git a/README.md b/README.md index 3dbc0fce..65738039 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ > ~~人话: 每次启动都会自动下载新的超赞梗图, 墙裂推荐~~
-- **repositoryUrl**: `'https://dituon.github.io/petpet'` +- **repositoryUrl**: `'https://github.com/Dituon/petpet/raw/main/'` > 仓库地址, 用于自动更新, 默认为此仓库的`github page` @@ -818,13 +818,17 @@ > 对于无输入输出设备的服务器 需要启用`headless` - 自动更新下载速度慢 / 无法连接远程资源? - > 修改`Petpet.yml`中`repositoryUrl`的值为`'https://ghproxy.com/https://raw.githubusercontent.com/Dituon/petpet/main'`(高速镜像) + > Github 在中国境内被防火墙拦截 + > + > 修改`Petpet.yml`中`repositoryUrl`的值为` + > - `'https://raw.gitcode.com/dituon/petpet/raw/main/'` (基于 Gitcode 自动偷取的镜像) + > - `'https://mirror.ghproxy.com/https://raw.githubusercontent.com/Dituon/petpet/main/'` (由 `ghproxy.com` 提供的镜像) - 自动更新后 读取`data.json`出错? > 自动更新时网络出错导致, 删除出错的文件 重新获取即可 - 其它错误? 问题? - > 若此文档无法解决您的问题, 欢迎提交`issue` + > 若此文档无法解决您的问题, 欢迎提交 `issue` ## 性能 & 兼容性 diff --git a/build.gradle b/build.gradle index 828b9bf2..9566811a 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ apply plugin: "java" group = 'xmmt.dituon' -version = '6.1' +version = '6.2' repositories { maven { url 'https://maven.aliyun.com/repository/public' } diff --git a/src/main/java/moe/dituon/petpet/share/BasePetService.java b/src/main/java/moe/dituon/petpet/share/BasePetService.java index ff60049c..3fadc434 100644 --- a/src/main/java/moe/dituon/petpet/share/BasePetService.java +++ b/src/main/java/moe/dituon/petpet/share/BasePetService.java @@ -16,7 +16,7 @@ public class BasePetService { - public static final float VERSION = 6.1F; + public static final float VERSION = 6.2F; public static final int DEFAULT_INITIAL_CAPACITY = 256; public static final BaseLogger LOGGER = BaseLogger.getInstance(); public static final String FONTS_FOLDER = "fonts";