GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: update opencode plugin dependencies and fix tauri sidecar path · prashanthpai/opencode@79599f3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .opencode
    • bun.lock
    • package.json
  • packages/tauri/src-tauri/src
    • lib.rs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.opencode/bun.lock‎

Copy file name to clipboardExpand all lines: .opencode/bun.lock
+3-3Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.opencode/package.json‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
33
"@octokit/rest": "^22.0.1",
4-
"@opencode-ai/plugin": "0.0.0-dev-202512160327"
4+
"@opencode-ai/plugin": "1.0.161"
55
}
66
}
Collapse file

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

Copy file name to clipboardExpand all lines: packages/tauri/src-tauri/src/lib.rs
+10-3Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,21 @@ fn spawn_sidecar(app: &AppHandle, port: u16) -> CommandChild {
6767

6868
#[cfg(not(target_os = "windows"))]
6969
let (mut rx, child) = {
70-
let sidecar = app.shell().sidecar("opencode-cli").unwrap();
71-
let sidecar_path = sidecar.get_program().to_string_lossy();
70+
let sidecar_path = tauri::utils::platform::current_exe()
71+
.expect("Failed to get current exe")
72+
.parent()
73+
.expect("Failed to get parent dir")
74+
.join("opencode-cli");
7275
let shell = get_user_shell();
7376
app.shell()
7477
.command(&shell)
7578
.env("OPENCODE_EXPERIMENTAL_ICON_DISCOVERY", "true")
7679
.env("OPENCODE_CLIENT", "desktop")
77-
.args(["-l", "-c", &format!("{} serve --port={}", sidecar_path, port)])
80+
.args([
81+
"-l",
82+
"-c",
83+
&format!("{} serve --port={}", sidecar_path.display(), port),
84+
])
7885
.spawn()
7986
.expect("Failed to spawn opencode")
8087
};

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.