mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 05:46:03 +00:00
fix: preserve the runtime PATH when overriding guest binaries (#1826)
This commit is contained in:
5 files changed
+44
-3
No files matched your search
@@ -39,6 +39,21 @@ Disabling the toggle clears queued and persistent agent environment settings and
|
||||
overrides. Disabled settings cannot apply at the next session start. Already running commands and
|
||||
effects already applied to a session are not undone; stop and restart that session to discard them.
|
||||
|
||||
Program overrides prepend their directory to the normal session PATH, including `/usr/games`
|
||||
where Ubuntu installs `gamescopereaper`. An explicit `PATH=...` environment entry replaces that
|
||||
default. If an old persistent PATH hides runtime tools, inspect `tools/droiddeckctl env list`
|
||||
and correct only PATH with `env set --persistent`, which preserves other persistent entries.
|
||||
For example, to restore the normal runtime search path:
|
||||
|
||||
```sh
|
||||
tools/droiddeckctl env set --persistent 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
|
||||
```
|
||||
|
||||
Retain any custom directories you still need alongside these runtime directories, then restart
|
||||
the session. `env clear persistent` removes **all** persistent environment settings, not just
|
||||
PATH; there is no single-entry clear operation. Before clearing that scope, record any other
|
||||
entries you want to keep and reapply them afterward.
|
||||
|
||||
Authorized command execution runs inside the runtime containing Steam's saved login. CDP evaluates
|
||||
JavaScript in the authenticated Steam client, and preferences can contain private values. These
|
||||
capabilities remain unrestricted when enabled: the toggle is an explicit opt-in, not credential
|
||||
|
||||
Reference in new issue
Block a user