mio
000866f724
Upgrade version
2025-07-29 17:49:10 +08:00
de7ac8f364
fix: dynamically select API path based on gacha type ( #98 )
...
修改了 `getGachaLogs` ,以下是关键区别和影响分析:
### 原代码行为
1. 根据输入的URL中是否包含`gacha_type=21`或`gacha_type=22`来决定API路径:
```javascript
if (queryString.includes('gacha_type=21') ||
queryString.includes('gacha_type=22')) {
gachaURLPath = 'getLdGachaLog'
}
```
2. 这意味着:
- 如果URL包含21/22类型,则所有请求都使用`getLdGachaLog`
- 否则所有请求都使用`getGachaLog`
### 修改后行为
1. 根据当前获取的gacha_type(key)动态决定API路径:
```javascript
let gachaURLPath = ['21', '22'].includes(key) ? 'getLdGachaLog' :
'getGachaLog'
```
2. 这意味着:
- 每个gacha_type独立判断使用哪个API
- 21/22类型使用`getLdGachaLog`
- 其他类型使用`getGachaLog`
### 关键区别
1. **更精确的API选择**:原代码基于输入URL决定所有请求的API路径,修改后基于每个gacha_type单独决定
2. **兼容性更好**:无论输入URL是什么类型,都能正确处理所有gacha_type
3. **行为更合理**:21/22类型总是使用专用API,其他类型使用标准API
### 实际影响
1. 当输入URL是普通类型(如11/12/1/2)时:
- 原代码:无法获取21/22类型数据(因为使用错误API)
- 修改后:可以获取所有类型数据(每种类型使用正确API)
2. 当输入URL是21/22类型时:
- 原代码:可以获取21/22类型,但其他类型可能使用错误API
- 修改后:所有类型都能正确获取
### 为什么这样改更好
1. 解决了原代码的局限性 - 不再依赖输入URL决定所有请求行为
2. 更符合API设计 - 21/22类型确实需要特殊API
3. 保持向后兼容 - 不影响现有功能,只是扩展了兼容性
这个修改使工具能够正确处理所有情况下的所有gacha_type,而不再受输入URL类型的限制。
2025-07-29 17:47:19 +08:00
mio
45cb36f276
feat: support Collaboration Warp
2025-07-11 18:52:36 +08:00
aa5a4d173d
数据库版本 ( #93 )
2025-02-04 16:41:38 +08:00
mio
fc3a9c1dcc
fix: URL pattern match failed ( #91 )
2025-01-15 20:47:11 +08:00
Lex Chartréux
b391a7daf5
更新日语 ( #88 )
...
添加 database 和 uigf 的翻译项。(上次修改后看到作者大大并没有更新,于是也就没提交)
2024-12-11 14:26:37 +08:00
mio
7927e0e3d3
Upgrade version
2024-12-08 09:29:50 +08:00
f96686719d
ID数据库版本 ( #86 )
2024-12-08 09:29:02 +08:00
mio
4a132ab8d8
Upgrade version
2024-09-21 20:45:29 +08:00
yuchi Xiong
9ae2095e5b
fix: 跃迁类型不足 4 种时导入数据会白屏 ( #81 )
...
当前 UIGF 文件中应该包含了 4 类跃迁(角色活动跃迁、光锥活动跃迁、常驻跃迁、新手跃迁)数据。
从本地导入 UIGF 文件时,gachaDetail 函数会分别取出这 4 类跃迁数据,当导入的数据中不包含某一类数据时会直接
return,此时视图层 detail computed 获取到的数据为 undefined,视图将不会渲染任何数据。
before:
https://github.com/user-attachments/assets/a2805ca6-b6d5-49c8-98fc-7b43643362d9
after:
https://github.com/user-attachments/assets/44268c70-1ca1-48fa-8ee5-e641d6fea23b
2024-09-21 18:10:40 +08:00
mio
6af2006b02
Upgrade version
2024-09-20 18:06:48 +08:00
90b76f264c
Id数据库版本 ( #78 )
2024-09-15 01:25:59 +08:00
f148315bff
chore: update idJson
and add display for idJson
version ( #77 )
2024-08-25 00:54:37 +08:00
Lex Chartréux
9b4c27b17e
更新日语 update japanese ( #75 )
2024-08-11 23:15:19 +08:00
mio
f6d0a18d5c
feat: import srgf
2024-08-08 21:58:24 +08:00
mio
acd7b66761
fix: winreg compatibility issues #73
2024-08-07 00:19:25 +08:00
raindrop
78bbe322ab
feat: Refine import and export functions
2024-08-06 16:39:34 +08:00
9a4aa130e0
[FEAT] UIGF v4 支持 ( #72 )
2024-08-05 11:22:01 +08:00
raindrop
34f87fb41c
fix: el-select component width incorrect
2024-08-05 11:01:10 +08:00
mio
9dab8bd891
fix: api url changed ( #71 )
2024-08-01 18:37:24 +08:00
mio
60bc7b43ee
Replace invalid npm registry
2024-05-09 13:56:02 +08:00
mio
23d102fe67
fix: sometimes appid error
2024-03-31 15:01:35 +08:00
mio
e307d21bb2
feat: save data only in the current program directory
2024-01-22 15:15:17 +08:00
mio
8ff629b655
Upgrade version
2023-10-28 10:01:55 +08:00
ToooAir
0c778c09f4
fixed: unknown host ( #54 )
...
Closes #53
我這邊yarn build之後運行正常
---------
Co-authored-by: biuuu <10892119+biuuu@users.noreply.github.com >
2023-10-28 09:57:14 +08:00
Ludovic Six
8c370ff0a7
Update Français.json ( #50 )
...
Added :
- ui.setting.dataManagerHint
Updated :
- ui.button.files
Small fix. Translation is now complete. And no formatting issues this
time (sorry for that).
2023-10-14 16:46:01 +08:00
mio
1ab284c880
upgrade version
2023-10-11 18:16:04 +08:00
Ludovic Six
dc5053cb03
Zenshio patch 2 ( #49 )
...
Added :
- ui.button.files
- ui.button.solution
- ui.button.cacheFolder
- ui.button.copyUrl
- ui.common.data
- ui.common.dataManage
- ui.common.updateTime
- ui.common.status
- ui.common.action
- ui.common.deleted
- ui.common.normal
- ui.common.delete
- ui.common.restore
- srgf.fileType
- ui.extra.cacheClean
- ui.extra.findCacheFolder
- ui.extra.urlCopied
Updated :
- ui.hint.init
- ui.win.title
- ui.data.no5star
- ui.data.weapon
- ui.data.average
- ui.data.weapon5
- ui.data.weapon4
- ui.data.weapon3
- ui.setting.hideNovice
- log.file.notFound
- log.fetch.authTimeout
- log.fetch.gachaType
- log.fetch.gachaTypeOk
- log.proxy.hint
- log.url.notFound2
- excel.wish2
- excel.filePrefix
2023-10-11 09:35:05 +08:00
mio
49c1685e5e
fix: Russian records cannot be exported to Excel file ( #32 )
2023-09-24 11:40:57 +08:00
mio
89a0553c59
upgrade version
2023-09-24 03:29:51 +08:00
BlackHazel
3605826953
fix: Update utils.js for French HSR. ( #47 )
...
For some reason mihoyo renamed "cônes de lumière" to "Cône de lumière"
and "Personnages" to "Personnage". This patch only includes the newer
term without removing the old ones for retro-compatibility.

2023-09-24 03:15:47 +08:00
XyLyXyRR
75f2f2dd4f
fix(package): homepage ( #46 )
...
Same as
[genshin-wish-export](https://github.com/biuuu/genshin-wish-export/pull/217 ).
2023-09-05 17:44:31 +08:00
mio
947101cc43
fix: URL not found caused by cache folder changes ( #40 )
2023-07-19 12:02:09 +08:00
mio
8628625a27
feat: Merge Export Excel Button and Export JSON Button
2023-06-29 16:24:39 +08:00
TremblingMoeNew
4ab2f60b53
feat: Support export as Star Rail Gacha Log Format file ( #39 )
2023-06-29 15:02:36 +08:00
mio
f2592040cb
chore: delete build-update.yml
2023-06-29 15:01:45 +08:00
mio
9de5ba1025
fix: the button can be clicked at intervals changed to 10s
2023-05-26 16:12:49 +08:00
mio
839b8fd54a
feat: add dialog to manage data
2023-05-26 16:10:33 +08:00
mio
38cb320628
chore: upgrade electron-builder ( #23 )
2023-05-23 17:38:36 +08:00
biuuu
8a0d96cf3e
Create FUNDING.yml
2023-05-23 16:48:40 +08:00
mio
298ea3e053
fix: the data saved may be incomplete if the api does not return data ( #28 )
2023-05-18 01:44:59 +08:00
mio
82f42e56db
feat: add the option to copy the URL
2023-05-17 23:34:44 +08:00
mio
a2dcda6be0
fix: empty records may fail ( #26 )
2023-05-12 12:46:21 +08:00
mio
dcaad1d544
fix: missing region in saved JSON
2023-05-11 21:01:29 +08:00
mio
69042728da
feat: using built-in gachaType
2023-05-11 20:31:24 +08:00
Charlie.Brown
0103a0fb4b
fix: rename gacha type ( #24 )
...
修改卡池名称
`群星跃迁` -> `常驻跃迁`
`始发跃迁` -> `新手跃迁`
Fixes : #22
2023-05-11 19:55:06 +08:00
mio
1052a4bffb
upgrade version
2023-05-06 12:55:25 +08:00
mio
2fd8730cdd
fix: use Player.log instead of Player-prev ( #18 )
2023-05-06 10:11:38 +08:00
mio
bbc52af184
fix: the pity value in excel is incorrect ( #15 )
2023-05-05 14:04:08 +08:00
mio
38ed348865
fix: i18n(zh-cn) 光錐 -> 光锥
2023-05-05 09:56:06 +08:00