diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-15 16:57:40 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-15 16:57:40 -0500 |
| commit | 7a865a8b757dc8aa5b521fce2d610fa52a86a9f1 (patch) | |
| tree | 0fd1e2e7c438b22b154b4d235137c86d86ea5155 /libs/plugin_python/tests/runner/plugins/dummy-installer.py | |
| parent | 4cd6aa34160ec97180b41b9658f2ab31264ce1ae (diff) | |
Abort setup on prefix-init failure, flag broken Proton installs
When stepProtonInit failed, the runner kept marching through every
downstream step against a half-initialized prefix, producing a cascade
of misleading "wine client error: version mismatch" failures that
masked the real problem. Seen in the wild with a GE-Proton10-34 install
that was missing concrt140.dll from its bundled default_pfx template:
setup_prefix crashes with FileNotFoundError, then seven unrelated steps
are reported as broken.
Break out of the step loop as soon as proton_init fails, and inspect the
captured Proton output for the "FileNotFoundError" + "default_pfx" hint
so the error message points at the broken Proton distribution instead
of a generic "exit code 1". runProcess gains an optional QByteArray*
out param so the caller can pattern-match on the merged output without
changing any existing call sites.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/tests/runner/plugins/dummy-installer.py')
0 files changed, 0 insertions, 0 deletions
