mirror of
https://github.com/hyb-oyqq/FRAISEMOE-Addons-Installer-NEXT.git
synced 2025-12-18 04:50:28 +00:00
feat(core): 优化 Cloudflare IP 加速功能
- 在消息框中添加 Cloudflare 图标 - 更新应用版本号至 1.1.3 - 优化配置获取流程,增加错误处理 - 移除未使用的资源文件 - 调整资源路径获取逻辑
This commit is contained in:
@@ -28,7 +28,7 @@ def resource_path(relative_path):
|
||||
if relative_path in ("aria2c.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, 'resources', 'data', relative_path)
|
||||
return os.path.join(base_path, 'data', relative_path)
|
||||
|
||||
return os.path.join(base_path, relative_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user