Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对可更改硬盘缓存目录的增强更新 #10

Closed
lgou2w opened this issue Jul 19, 2023 · 1 comment
Closed

对可更改硬盘缓存目录的增强更新 #10

lgou2w opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@lgou2w
Copy link
Owner

lgou2w commented Jul 19, 2023

旧的默认的硬盘缓存目录路径:/$Game/$Game_Data/webCaches/Cache/Cache_Data/

自从以下游戏版本更新,这个路径不再是默认的:

  • 原神 Genshin Impactv3.8.0 更新:
- /Genshin Impact Game/YuanShen_Data/webCaches/Cache/Cache_Data/
+ /Genshin Impact Game/YuanShen_Data/webCaches/2.13.0.1/Cache/Cache_Data/
  • 崩坏:星穹铁道 Honkai: Star Railv1.2.0 更新:
- /Game/StarRail_Data/webCaches/Cache/Cache_Data/
+ /Game/StarRail_Data/webCaches/2.14.0.0/Cache/Cache_Data/

解决方案

读取 webCaches 下的所有符合 x.y.z.a 命名规则的目录(不排除可能以 x.y.z 命名),进行版本号比较并获取最新的目录即可。

@lgou2w lgou2w added bug Something isn't working enhancement New feature or request labels Jul 19, 2023
@lgou2w lgou2w self-assigned this Jul 19, 2023
lgou2w added a commit that referenced this issue Jul 19, 2023
@lgou2w
Copy link
Owner Author

lgou2w commented Jul 19, 2023

已在正式版 0.3.2 中修改调整。

@lgou2w lgou2w closed this as completed Jul 19, 2023
WxWatch added a commit to WxWatch/gacha-tracker that referenced this issue Jul 25, 2023
* chore: bump dependencies version

* fix: unable to read gacha url in genshin v3.8.0

* chore: bump version to 0.3.1

* lang fix

* Fix fetching URL for Star Rail

* chore: bump dependencies version

* fix: changeable disk cache directory lgou2w#10

* chore: bump version to 0.3.2

* Merge

* merge fixes

* package updates

* gacha fetching

* Update versioning

---------

Co-authored-by: lgou2w <lgou2w@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant