Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

docs(computer): tie the Desktop CLI path to the card launcher

LeoXing15d6437546e0
diff --git a/apps/computer/local-daemon/internal/daemon/playground_tools.go b/apps/computer/local-daemon/internal/daemon/playground_tools.go
index 4ebeab8a..4b4b8be7 100644
--- a/apps/computer/local-daemon/internal/daemon/playground_tools.go
+++ b/apps/computer/local-daemon/internal/daemon/playground_tools.go
@@ -188,6 +188,8 @@ func cardCLIProgram(directory, goos string) (program string, prefix, environment
return program, nil, nil, true
}
script := filepath.Join(directory, "teamhub.js")
+ // The same relative app path teamhub.cmd names; apps/desktop/build.mjs
+ // writes both.
app := filepath.Join(directory, "..", "..", "..", "..", "Linger.exe")
if !regularFile(script) || !regularFile(app) {
return "", nil, nil, false
diff --git a/apps/desktop/build.mjs b/apps/desktop/build.mjs
index 1f068c70..796af8a7 100644
--- a/apps/desktop/build.mjs
+++ b/apps/desktop/build.mjs
@@ -295,7 +295,9 @@ ELECTRON_RUN_AS_NODE=1 exec "$app" --use-env-proxy "$dir/teamhub.js" "$@"
{ mode: 0o755 },
);
// The same for cmd and PowerShell on Windows, which run `teamhub.cmd`; Git
-// Bash takes the script above.
+// Bash takes the script above. The Computer's live voice cards start the app
+// at this relative path directly (cardCLIProgram in the local daemon's
+// playground_tools.go), so a layout change updates both.
await writeFile(
"dist/teamhub-cli/teamhub.cmd",
`@echo off\r