fix: add missing args to windows tauri cli spawn (#8084)
This commit is contained in:
@@ -155,6 +155,7 @@ pub fn create_command(app: &tauri::AppHandle, args: &str) -> Command {
|
|||||||
.shell()
|
.shell()
|
||||||
.sidecar("opencode-cli")
|
.sidecar("opencode-cli")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
.args(args.split_whitespace())
|
||||||
.env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true")
|
.env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true")
|
||||||
.env("OPENCODE_CLIENT", "desktop")
|
.env("OPENCODE_CLIENT", "desktop")
|
||||||
.env("XDG_STATE_HOME", &state_dir);
|
.env("XDG_STATE_HOME", &state_dir);
|
||||||
|
|||||||
Reference in New Issue
Block a user