mirror of
https://github.com/hyb-oyqq/FRAISEMOE-Addons-Installer-NEXT.git
synced 2025-12-17 20:40:29 +00:00
feat(downloader): 更新 aria2c 为修改版 aria2c-fast_x64
- 替换原有的 aria2c.exe 为 aria2c-fast_x64.exe - 更新 aria2c 路径和相关配置 - 优化下载线程中的 aria2c 参数设置 - 更新 README 文件中的贡献者列表 - 版本号从 1.3.0 升级到 1.3.1
This commit is contained in:
@@ -24,7 +24,7 @@ def resource_path(relative_path):
|
||||
base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
|
||||
# 处理特殊的可执行文件和数据文件路径
|
||||
if relative_path in ("aria2c.exe", "cfst.exe"):
|
||||
if relative_path in ("aria2c-fast_x64.exe", "cfst.exe"):
|
||||
return os.path.join(base_path, 'bin', relative_path)
|
||||
elif relative_path in ("ip.txt", "ipv6.txt"):
|
||||
return os.path.join(base_path, 'data', relative_path)
|
||||
|
||||
Reference in New Issue
Block a user