Skip to content

v0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Mar 05:16
· 0 commits to master since this release
🐛 fix(下载处理): 修复firefox下载路径解析逻辑

- 在 `download` 和 `send2Aria` 函数中,新增从 `downloadItem.filename` 中提取目录路径的逻辑
- 当 `filename` 包含路径分隔符(`\` 或 `/`)时,自动分离目录和文件名
- 优化路径赋值逻辑,仅在未设置 `dir` 时使用 `rpcItem.location` 作为默认目录
- 在 `BrowserCompat.hasAPI` 方法中,将 `typeof obj[part] !== 'undefined'` 检查改为更简洁的 `part in obj`