Skip to content
Snippets Groups Projects

Revert "Revert "runtime: Set STEAM_RUNTIME=/ if running in scout"

Merged Ludovico de Nittis requested to merge wip/denittis/issue8_v2 into master
2 files
+ 15
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 10
0
@@ -3225,6 +3225,16 @@ pv_runtime_bind (PvRuntime *self,
self->adverb_in_container = "/run/pressure-vessel/pv-from-host/bin/pressure-vessel-adverb";
}
/* Some games detect that they have been run outside the Steam Runtime
* and try to re-run themselves via Steam. Trick them into thinking
* they are in the LD_LIBRARY_PATH Steam Runtime.
*
* We do not do this for games developed against soldier, because
* backwards compatibility is not a concern for game developers who
* have specifically opted-in to using the newer runtime. */
if (self->is_scout)
flatpak_bwrap_set_env (bwrap, "STEAM_RUNTIME", "/", TRUE);
pv_runtime_set_search_paths (self, bwrap);
return TRUE;
Loading