Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 220c564

Browse files
committed
tauri: use correct sidecar name
1 parent cf5c012 commit 220c564

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/tauri/src-tauri/src

packages/tauri/src-tauri/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use std::{
44
sync::{Arc, Mutex},
55
time::{Duration, Instant},
66
};
7-
use tauri::{AppHandle, LogicalSize, Manager, Monitor, RunEvent, WebviewUrl, WebviewWindow};
87
#[cfg(target_os = "macos")]
98
use tauri::TitleBarStyle;
9+
use tauri::{AppHandle, LogicalSize, Manager, Monitor, RunEvent, WebviewUrl, WebviewWindow};
1010
use tauri_plugin_dialog::{DialogExt, MessageDialogButtons, MessageDialogResult};
1111
use tauri_plugin_shell::process::{CommandChild, CommandEvent};
1212
use tauri_plugin_shell::ShellExt;
@@ -66,7 +66,7 @@ fn find_and_kill_process_on_port(port: u16) -> Result<(), Box<dyn std::error::Er
6666
fn spawn_sidecar(app: &AppHandle, port: u16) -> CommandChild {
6767
let (mut rx, child) = app
6868
.shell()
69-
.sidecar("opencode")
69+
.sidecar("opencode-cli")
7070
.unwrap()
7171
.env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true")
7272
.env("OPENCODE_CLIENT", "desktop")

0 commit comments

Comments
 (0)