core: add client identification to user agent and request headers for better tracking
This commit is contained in:
parent
bfdb236581
commit
d4dc142cc2
4 changed files with 5 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ fn spawn_sidecar(app: &AppHandle, port: u16) -> CommandChild {
|
|||
.sidecar("opencode")
|
||||
.unwrap()
|
||||
.env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true")
|
||||
.env("OPENCODE_CLIENT", "desktop")
|
||||
.args(["serve", &format!("--port={port}")])
|
||||
.spawn()
|
||||
.expect("Failed to spawn opencode");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue