Feat:
- Added a roles info caching mechanism. The cache file is located in the config directory to avoid repeatedly fetching character information from the server. The default cache validity period is 3 days, and it will also be refreshed when the Cookie changes. Note: This does not apply to cloud function environments, as they cannot write to files.
- Updated the version notification default to only alert for significant updates, unless
CHECK_UPDATE
is set toall
to alert for all versions, orfalse
to disable.
Feat:
- 增加 roles info 缓存机制,缓存文件位于 config 目录下,避免重复从服务器获取角色信息。默认缓存有效期为3天,且 Cookie 变化时会重新获取。注意:云函数环境无效,因为云函数环境无法写入文件。
- 版本更新提醒默认更新为仅提醒重要更新,除非
CHECK_UPDATE
设置为all
以提醒所有版本,或false
关闭。