Skip to content

Commit 4cc243c

Browse files
committed
Merge remote-tracking branch 'origin/BiLi_PC_Gamer' into BiLi_PC_Gamer
2 parents 80173c4 + 5ab4fbe commit 4cc243c

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
# [感谢名单](https://github.com/xiaojieonly/Ehviewer_CN_SXJ/blob/BiLi_PC_Gamer/feedauthor/thankyou.md)
22
# [常见问题汇总](https://github.com/xiaojieonly/Ehviewer_CN_SXJ/blob/BiLi_PC_Gamer/feedauthor/EhviewerIssue.md)
33

4+
# 2024/08/19 : E站略缩图服务器变更导致的强制更新,下次版本更新将顺延至10月
5+
### 新版发布1.9.8.6(如果出现问题请覆盖安装旧版本)
6+
### 修复下载计时器不适配多线程的问题
7+
### 修复导入搜索标签时,没有正常保留原有的插入时间导致标签无法正常排序的问题
8+
### 修复档案下载时,档案压缩包没有下载至公共的download目录的问题
9+
### 修复了一个添加下载项可能导致app崩溃的问题
10+
### 修复了一个下载档案文件时,获取下载链接失败导致app奔溃的问题
11+
### 修复隨機挑本的bug(#1363)
12+
### 优化添加搜索书签时的翻译逻辑
13+
### 修复表站列表因页面结构变动导致无法获取到画廊标签的问题
14+
### 更新host文件:删除了部分失效域名,修复略缩图host
15+
### 优化app link配置,现在每次安装都会重新检查一次
16+
17+
[//]: # ( 点击前往下载:[EhViewer (20.8 MB)](https://appteka.store/app/87ar184853) )
18+
点击前往下载:[Microsoft App Center](install.appcenter.ms/users/xiaojieonly/apps/com.xjs.ehviewer/distribution_groups/let's%20roll)
19+
点击前往下载:[百度云](https://pan.baidu.com/s/19uE6Q2JPqjsiMaoIyX_dCg) 密码:vonf
20+
点击前往下载(电脑端可正常下载):[蓝奏云](https://wwsu.lanzouj.com/iLFVo27u9n2j) 密码:f5xs
21+
点击前往下载:[github](https://github.com/xiaojieonly/Ehviewer_CN_SXJ/releases)
22+
点击前往赏饭:[要饭嘛不寒掺](https://github.com/xiaojieonly/Ehviewer_CN_SXJ/blob/BiLi_PC_Gamer/feedauthor/support.md)
23+
Torrent链接:magnet:?xt=urn:btih:df119c759394a0231afdc3a2c7c606742501cd61&dn=EhViewer-1.9.8.6.apk
24+
Telegram群:https://t.me/+WyclP8pPlk-JfbwS
25+
Telegram通知群:https://t.me/Ehviewer_xiaojieonly_channel
26+
427
# 2024/08/01 :
528
### 新版发布1.9.8.5(如果出现问题请覆盖安装旧版本)
629
### 更新host文件
@@ -13,7 +36,6 @@
1336
### 优化下载列表悬浮按钮位置以防止遮挡开始下载按钮
1437
### 修复下载列表随机浏览可能会导致app奔溃的问题
1538
### 下载超时计数器从CountDownTimer变更为Timer,以避免内存泄漏风险
16-
1739
点击前往下载:[EhViewer (20.8 MB)](https://appteka.store/app/87ar184853)
1840
点击前往下载:[Microsoft App Center](install.appcenter.ms/users/xiaojieonly/apps/com.xjs.ehviewer/distribution_groups/let's%20roll)
1941
点击前往下载:[百度云](https://pan.baidu.com/s/10QXSnVi9wFJJ8VJC66-B1w) 密码:bc1w

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
//noinspection ExpiredTargetSdkVersion
3131
targetSdkVersion 29
3232
versionCode 111
33-
versionName "1.9.8.5"
33+
versionName "1.9.8.6"
3434
vectorDrawables.useSupportLibrary = true
3535
resConfigs 'zh', 'zh-rCN', 'zh-rHK', 'zh-rTW', 'es', 'ja', 'ko', 'fr', 'de', 'th'
3636
testOptions.unitTests.includeAndroidResources = true

app/src/main/java/com/hippo/ehviewer/ui/scene/FavoritesScene.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,8 @@ protected GalleryInfo doInBackground(Void... v) {
16771677

16781678
long gidDiff = firstGInfo.gid - lastGInfo.gid;
16791679
long block = gidDiff / 50;
1680-
List<GalleryInfo> rGInfoL = EhEngine.getAllFavorites(mOkHttpClient, url + "&next=" + (firstGInfo.gid - gidDiff / block * ((int) (Math.random() * block))) + 1).galleryInfoList;
1680+
long rBlock = ((int) (Math.random() * block)) + 1;
1681+
List<GalleryInfo> rGInfoL = EhEngine.getAllFavorites(mOkHttpClient, url + "&next=" + (firstGInfo.gid - gidDiff / block * ((int) (Math.random() * block)) + 1)).galleryInfoList;
16811682
return rGInfoL.get((int) (Math.random() * rGInfoL.size()));
16821683
} catch (Throwable e) {
16831684
throw new RuntimeException(e);

0 commit comments

Comments
 (0)