feat(core): 优化 Cloudflare IP 加速功能

- 在消息框中添加 Cloudflare 图标
- 更新应用版本号至 1.1.3
- 优化配置获取流程,增加错误处理
- 移除未使用的资源文件
- 调整资源路径获取逻辑
This commit is contained in:
hyb-oyqq
2025-07-24 15:14:29 +08:00
parent f9715f91f7
commit 0cf9f5e6c2
30 changed files with 81 additions and 14 deletions

View File

@@ -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)