[PR #7107] fix(desktop): complete symlink support implementation and enable CI for PRs #12248

Closed
opened 2026-02-16 18:17:10 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7107

State: closed
Merged: No


Summary

Follow-up to #7102 which was merged incomplete. Completes the symlink support implementation and enables CI validation for PRs.

Changes

Desktop symlink support:

  • Use tauri::process::current_binary() instead of tauri::utils::platform::current_exe()
  • Pass AppHandle to get_sidecar_path() to provide required &Env parameter
  • Update install_cli() and sync_cli() to pass AppHandle through call chain

CI improvements:

  • Enable nix-desktop workflow on pull_request events with same paths as push

Context

PR #7102 introduced tauri::process::current_binary() but didn't pass the required &Env parameter, causing build failures. This PR fixes the implementation by properly threading the AppHandle through the call chain.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7107 **State:** closed **Merged:** No --- ## Summary Follow-up to #7102 which was merged incomplete. Completes the symlink support implementation and enables CI validation for PRs. ## Changes **Desktop symlink support:** - Use `tauri::process::current_binary()` instead of `tauri::utils::platform::current_exe()` - Pass `AppHandle` to `get_sidecar_path()` to provide required `&Env` parameter - Update `install_cli()` and `sync_cli()` to pass `AppHandle` through call chain **CI improvements:** - Enable `nix-desktop` workflow on `pull_request` events with same paths as `push` ## Context PR #7102 introduced `tauri::process::current_binary()` but didn't pass the required `&Env` parameter, causing build failures. This PR fixes the implementation by properly threading the `AppHandle` through the call chain.
yindo added the pull-request label 2026-02-16 18:17:10 -05:00
yindo closed this issue 2026-02-16 18:17:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12248