The open source coding agent.
TypeScript
tauri: use correct sidecar name
Brendan Allan220c56404794
diff --git a/packages/tauri/src-tauri/src/lib.rs b/packages/tauri/src-tauri/src/lib.rsindex a275fab784a..b06ccd06ce7 100644--- a/packages/tauri/src-tauri/src/lib.rs+++ b/packages/tauri/src-tauri/src/lib.rs@@ -4,9 +4,9 @@ use std::{sync::{Arc, Mutex},time::{Duration, Instant},};-use tauri::{AppHandle, LogicalSize, Manager, Monitor, RunEvent, WebviewUrl, WebviewWindow};#[cfg(target_os = "macos")]use tauri::TitleBarStyle;+use tauri::{AppHandle, LogicalSize, Manager, Monitor, RunEvent, WebviewUrl, WebviewWindow};use tauri_plugin_dialog::{DialogExt, MessageDialogButtons, MessageDialogResult};use tauri_plugin_shell::process::{CommandChild, CommandEvent};use tauri_plugin_shell::ShellExt;@@ -66,7 +66,7 @@ fn find_and_kill_process_on_port(port: u16) -> Result<(), Box<dyn std::error::Erfn spawn_sidecar(app: &AppHandle, port: u16) -> CommandChild {let (mut rx, child) = app.shell()- .sidecar("opencode")+ .sidecar("opencode-cli").unwrap().env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true").env("OPENCODE_CLIENT", "desktop")