diff --git a/app/src/main/kotlin/com/shonar/desktop/DesktopState.kt b/app/src/main/kotlin/com/shonar/desktop/DesktopState.kt index 57a1b45..418feec 100644 --- a/app/src/main/kotlin/com/shonar/desktop/DesktopState.kt +++ b/app/src/main/kotlin/com/shonar/desktop/DesktopState.kt @@ -297,8 +297,9 @@ class DesktopState(private val appDir: File = defaultAppDir()) { fresh } val env = mutableMapOf( - // The .venv may be shared (symlink) whose editable install - // points elsewhere — PYTHONPATH makes THIS backend win. + // backend/.venv is local to this project (uv venv, editable + // install of THIS backend). PYTHONPATH kept as a belt: it + // pins this code over any other shonar on the interpreter. "PYTHONPATH" to backend.absolutePath, "SHONAR_SECRET_KEY" to secret, // Bundled-lite: one process, SQLite, in-process queue,