diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-26 12:55:00 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-26 12:55:00 -0500 |
| commit | 1d1765af605fb927021ad8f7e27bacb520bcfa85 (patch) | |
| tree | b870c856e990f0b851ff67c11a21bc6eeef3e34a /libs/plugin_python | |
| parent | d06dd9bf82040ad67a6f12fb92fb411770d63f28 (diff) | |
Spawn: prune non-{C:,Z:} drive letters from prefix at launch
Wine canonicalises paths against the dosdevices map and prefers the most
specific (longest-prefix) drive letter. An external symlink such as
dosdevices/x: -> /home/<user> turns every Z:\home\<user>\... binary path
into X:\..., which confuses tools and obscures launch logs.
PrefixSetupRunner::stepDriveCleanup already enforces the {C:, Z:} policy
but only runs as part of the explicit prefix-setup pipeline; drives
added later (Faugus, manual edits, modlist installers) survive forever.
Mirror that cleanup at launch in spawn.cpp's pruneExtraDrives() so every
Proton launch sees a known-good dosdevices layout.
Diffstat (limited to 'libs/plugin_python')
0 files changed, 0 insertions, 0 deletions
