71 Commits

Author SHA1 Message Date
b716ba8294 优化初始化检测逻辑
(cherry picked from commit c38e2f02d113e93a20548045d07de3faddadedda)
2025-10-31 19:21:18 -07:00
442ea458b7 1. /lib/app/common/app_config.dart
- P0: 限制递归重试次数(最多5次)
    - P1: 减少超时时间(3s→2s, 6s→4s)
    - P1: 移除重复域名配置
  2.  /lib/app/services/kr_site_config_service.dart
    - P1: 减少网络超时(10s→5s)
  3.  /lib/app/modules/kr_splash/controllers/kr_splash_controller.dart
    - P0: 总体超时保护(30秒)
    - P2: 非阻塞初始化
    - P2: 后台任务超时保护(网站配置10s, 设备登录8s)
    - P2: 完善错误处理(区分超时/网络/HTTP错误)
    - P3: 跳过初始化功能
  4.  /lib/app/modules/kr_splash/views/kr_splash_view.dart
    - P3: 添加"跳过"按钮

(cherry picked from commit 0a9fe429919fe9ae85b7769df123b72d7e33c6b1)
2025-10-31 19:21:18 -07:00
c5715f77e2 修正VMess 和 VLESS TLS配置问题,并且修改了切换节点的逻辑
(cherry picked from commit 8c34c2b0d31ee37a566de6dcb3ec62b7bb0a7222)
2025-10-31 19:06:01 -07:00
b79ce2d15a feat: 修改测试节点问题
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
2025-10-31 19:05:29 -07:00
445b1e0352 feat: 完成代码
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-10-31 04:00:26 -07:00
74df08144f 解决开启关闭后UI界面状态不同步问题
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Build Windows / build (push) Has been cancelled
(cherry picked from commit 23a4a5ce2e46ffbd3b8188333dfa7f4559984e4c)
2025-10-31 00:20:29 -07:00
5c8f0ca1fc 1. Android: 组合多个硬件标识 + 序列号 + Build信息
2. iOS: 组合设备型号 + 系统版本 + identifierForVendor,持久化存储到钥匙串
  3. macOS: 使用硬件UUID + 序列号
  4. Windows: 使用主板UUID + CPU信息
  5. Linux: 使用machine-id + 硬件信息

(cherry picked from commit 1be3037f715548a1efa4cc5d7d204b989878557a)
2025-10-31 00:16:49 -07:00
c1c5f1a2e0 优化:需要在 kr_loginOut() 方法中添加逻辑:退出登录后,如果站点启用了设备登录,则自动调用设备登录接口。
(cherry picked from commit b5267ad753163223646d29cdc52669d24f158d8b)
2025-10-31 00:16:48 -07:00
d94e7fd44a 修正流量不统计等问题
(cherry picked from commit 9f94be27288b5cf8f23236706fa2e561abf967e2)
2025-10-31 00:13:53 -07:00
064a0a7402 修改flutter兼容版本,优化macos无法切换节点和协议不兼容等问题
(cherry picked from commit dcc07886f8ba73eb2630a14a81bda191468c7a1f)
2025-10-31 00:13:52 -07:00
8bba2441c2 Shadowsocks - 原本就能用 Trojan - 已修复,insecure: true VMess - 已修复,insecure: true VLESS -
已修复,insecure: true Hysteria - 新增支持 Hysteria2 - 已修复,insecure: true

(cherry picked from commit 7fae8a6f4d569a30c5a3606949154a57e5a597d6)
2025-10-31 00:13:42 -07:00
7011ba1551 添加 /FS 标志来允许多个 CL.EXE 进程写入同一个 PDB 文件
(cherry picked from commit c12510cbdea34463b411858a0034c52e6ded5c5f)
2025-10-31 00:13:42 -07:00
bba8acfe76 windows路径问题
(cherry picked from commit e226b8635d60a8c2fea8a99c151a5161a797aa52)
2025-10-31 00:13:42 -07:00
9c2f9be6c5 windows路径问题
(cherry picked from commit 9cefb1b9e009575ee7f6a5aef631cb344b6e1df8)
2025-10-31 00:13:42 -07:00
0067017ca6 修正Visual Studio 编译器的 PDB 文件锁冲突
(cherry picked from commit 62ab152d639509119db5edd742765bd3bec575bc)
2025-10-31 00:13:41 -07:00
1970bbb6fd 修正windows编译路径数据库问题
(cherry picked from commit 58f6dec2325bdf78689fb4894d76c0dd7b591df3)
2025-10-31 00:13:41 -07:00
fbdf4a2337 防止被多次初始化
(cherry picked from commit 77f1a8b30d2c30c03f0ec45fc32fe8eef9d2b4c7)
2025-10-31 00:13:41 -07:00
4250f61345 还是路径问题
(cherry picked from commit 0045992c45bcfd54db328f82d14b8bac33da9139)
2025-10-31 00:13:41 -07:00
ee20cc93e2 修正windwos打包路径问题
(cherry picked from commit 88df41fe3fd2bb3b0293dc0df178b1e6f83dad07)
2025-10-31 00:13:41 -07:00
01ea786ef0 新增 iOS 和 Apple TV 在线打包
(cherry picked from commit bdcd45999796408067a6e67600e9c98721969da3)
2025-10-31 00:13:29 -07:00
11c66d0314 修正windows打包路径问题
(cherry picked from commit 3db9d86bcd6f85cf6b81ee27e79a0d2a0f9287ab)
2025-10-31 00:13:29 -07:00
0449e04f42 修正windows打包路径问题
(cherry picked from commit 93ca88fa49d3bd3422b5f05243ec9dfad47c2a77)
2025-10-31 00:13:29 -07:00
41f85a6747 使用 GLib/GObject 的旧代码触发新版本 GLib 的弃用检查,修正使用最新的
(cherry picked from commit 61e8750169dd1f797f4cd607d72f4b6cd3d0705f)
2025-10-31 00:13:29 -07:00
3328919f7e 修正跨平台字符处理统一
(cherry picked from commit 6e986a9c9cacfd00102cbe91f695c2253598560b)
2025-10-31 00:13:29 -07:00
fde4bfa464 修正windows在线打包
(cherry picked from commit dae69f6c0e25bc1ba80fc1b52bdfbf255f1a5f51)
2025-10-31 00:13:29 -07:00
8204895199 修正在线打包
(cherry picked from commit 1af2aa64f26db5f7e3d41409e714be1789f17345)
2025-10-31 00:13:28 -07:00
773047838c 去掉调试模式并且修正在线打包windows
(cherry picked from commit 603afe3ca6ffc6838e83ff8e1980dcc9e615733b)
2025-10-31 00:13:28 -07:00
fc4ecf874b feat: 更新代码仓库全部修改
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-10-30 23:31:05 -07:00
adfaa87b09 feat: 更新代码仓库全部修改
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-10-30 04:56:54 -07:00
f42a481452 feat: 更新代码仓库全部修改
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
2025-10-30 04:47:53 -07:00
145832093e fix(ci): 增强 Windows 构建中的 build_runner 错误检查
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
- 将 build_runner 步骤独立出来
- 添加 PowerShell 文件存在性检查
- 如果生成的文件不存在则立即失败
- 提供详细的诊断日志

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 23:41:29 +08:00
875684861e fix(gradle): 移除本地 Java 路径配置以支持 CI/CD
- 注释掉 org.gradle.java.home 配置
- 让 Gradle 使用系统默认的 Java
- 修复 GitHub Actions 构建失败问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 23:33:47 +08:00
2648fcc44f fix(ci): 修复多平台构建流程 - 每个平台单独编译 libcore
**问题:**
- Windows/macOS/Linux 构建不依赖 libcore 编译
- 这些平台没有下载对应的 libcore 库文件
- 导致桌面平台构建时缺少必需的 native 库

**修复:**
- 为每个平台创建独立的 libcore 编译任务:
  * build-libcore-android → libcore.aar
  * build-libcore-windows → libcore.dll + HiddifyCli.exe
  * build-libcore-macos → libcore.dylib + HiddifyCli
  * build-libcore-linux → libcore.so + HiddifyCli

**正确的流程:**
1. 并行编译各平台的 libcore
2. 上传 libcore artifacts
3. 各平台构建任务下载对应的 libcore
4. 安装 Flutter 依赖
5. 构建 Flutter 应用

**影响:**
- 所有平台现在都会正确编译和使用 libcore
- libcore 版本锁定在 v3.1.7 (f993a57)
- 桌面平台现在可以正常构建和运行

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 23:30:52 +08:00
ed8afecf85 fix(flutter): 修复 Flutter 3.24.5 CupertinoSwitch API 兼容性问题
- 将已弃用的 activeTrackColor 参数替换为 activeColor
- 影响文件:
  * lib/app/modules/kr_setting/views/kr_setting_view.dart
  * lib/app/modules/kr_home/views/kr_home_connection_info_view.dart
- 修复 macOS/iOS 构建错误

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 23:23:56 +08:00
6ca55a3d44 fix: 修复 GitHub Actions 构建配置
- 修复 libcore 编译命令
- 强制所有平台使用 Release 构建
- 添加 Linux tray_manager 依赖
2025-10-27 23:20:24 +08:00
d02eed3bd8 docs: 添加 GitHub Actions 构建文档并锁定 libcore 版本
- 添加完整的 GitHub Actions 构建指南文档
  - BUILD_GUIDE.md: Android 详细构建指南
  - MULTIPLATFORM_GUIDE.md: 多平台构建指南
  - HOW_TO_BUILD.md: 分步操作教程
  - QUICKSTART.md: 3步快速开始指南
  - INDEX.md: 文档总览索引
  - README.md: 基础说明
- 创建 docs/ 目录存放项目文档
- 锁定 libcore 子模块到 f993a57 (v3.1.7)
  - 防止在线编译时使用最新版本
  - 确保构建稳定性和一致性
2025-10-27 23:11:21 +08:00
2b8d34086a refactor: 将 libcore 转换为 Git 子模块并更新 .gitignore
- 将 libcore 从直接提交转换为 Git 子模块管理
- 更新 .gitignore 排除 libcore 编译产物(bin/, node_modules/, *.tar.gz, *.aar)
- 保留 libcore 源码用于 GitHub Actions 在线编译
- libcore 源码仓库: https://github.com/hiddify/hiddify-next-core
2025-10-27 23:07:29 +08:00
09d229a592 修正在线打包windows 2025-10-27 22:59:28 +08:00
206613f092 新增在线打包 2025-10-27 22:53:30 +08:00
1d2d9ba63d 新增调试信息 2025-10-27 22:29:34 +08:00
04642cb2f0 新增调试信息 2025-10-27 22:15:25 +08:00
ae62457d8c 添加日志 调试 2025-10-24 21:03:48 +08:00
6d4a4ff6a3 修正模拟器可能存在无法联网的问题 2025-10-24 20:40:53 +08:00
6657c0a77c include "armeabi-v7a", "arm64-v8a", "x86", "x86_64" 2025-10-24 19:14:27 +08:00
343609dabe 取消混淆,自行处理 2025-10-24 18:49:48 +08:00
79cfafe59e up 2025-10-23 17:49:16 +08:00
f563865e89 Release 模式(APK):启用了 ProGuard 混淆,但没有配置
proguard-rules.pro
    - VPN 相关类可能被混淆、重命名或移除
    - VpnService.prepare() 调用可能被优化掉
    - 权限检查逻辑被破坏
2025-10-23 17:31:12 +08:00
6936fab392 修正切换订阅计划多节点列表展示问题 2025-10-23 13:24:48 +08:00
f1a8dfe4e7 优化邀请码在不登录的时候要求客户去登录 2025-10-22 22:17:06 +08:00
17ea51b583 更新扩展连接协议字段并且新增邀请码展示 2025-10-22 21:49:57 +08:00