Commit Graph

5 Commits

  • refactor: clash-verge-rev-service-ipc (#4841)
    * feat: update service installation scripts and IPC integration
    
    - Updated `Cargo.toml` to use version 2.0.8 of `clash_verge_service_ipc` with "client" feature.
    - Renamed service installation and uninstallation scripts in `post-install.sh` and `pre-remove.sh`.
    - Removed `service_ipc` module and refactored IPC handling in `service.rs` to use the new `clash_verge_service_ipc` directly.
    - Adjusted service version checking and core management to align with the new IPC structure.
    - Simplified directory checks in `dirs.rs` and updated logging configurations in `init.rs`.
    - Updated Linux configuration file to reflect new script names.
    - Enhanced service installer hook to manage state more effectively.
    
    * refactor: simplify ClashConfig instantiation and remove unused service log file function
    
    * feat: update clash_verge_service_ipc to version 2.0.9 and enhance service initialization logging
    
    * chore: update clash_verge_service_ipc to version 2.0.10 and refactor async service manager initialization
    
    * fix: update clash_verge_service_ipc to version 2.0.11 and improve service manager initialization
    
    * fix: increase sleep duration for socket readiness check to improve stability
    
    * fix: update clash_verge_service_ipc to version 2.0.12 and kode-bridge to version 0.3.4; refactor service management and IPC path checks
    
    * fix: update clash_verge_service_ipc to version 2.0.13; refactor service connection and initialization logic
  • fix: unexpected behavior while pulling resources (#3789)
    fix: unexpected behavior while pulling resources
    
    在 commit 25cfd162f6 中引入新的 pnpm prepare 执行脚本指令,而 prepare 关键字与包管理器的生命周期脚本冲突。导致在运行 Workflow 的时候被执行两次资源拉取,并且被当做生命周期脚本的时候没有携带预期的 \`${{ matrix.target }}\`。这一行为进一步影响 macOS Intel X86 平台上的构建。
    
    所影响的 issues: #3753, #3771