We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbcbfb commit bb09df0Copy full SHA for bb09df0
packages/desktop/src-tauri/src/cli.rs
@@ -10,8 +10,9 @@ fn get_cli_install_path() -> Option<std::path::PathBuf> {
10
}
11
12
pub fn get_sidecar_path() -> std::path::PathBuf {
13
- tauri::utils::platform::current_exe()
14
- .expect("Failed to get current exe")
+ // Get binary with symlinks support
+ tauri::process::current_binary()
15
+ .expect("Failed to get current binary")
16
.parent()
17
.expect("Failed to get parent dir")
18
.join("opencode-cli")
0 commit comments