diff --git a/src/runtime.c b/src/runtime.c index 365cf559fa701bef4463bd70f24f4e8259bfaf34..06cba75068904b6b725d0ce82756ef70b035ed26 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -3225,16 +3225,6 @@ 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; diff --git a/tests/inside-runtime.py b/tests/inside-runtime.py index 97ee4292c718ea8117fc1c1e36f164f662fffeb0..cb83c29d2f6078341fef762a529f584acb0ec09f 100755 --- a/tests/inside-runtime.py +++ b/tests/inside-runtime.py @@ -153,11 +153,7 @@ class TestInsideRuntime(BaseTest): logger.info( 'LD_LIBRARY_PATH: %r', os.environ.get('LD_LIBRARY_PATH') ) - - if os.environ.get('TEST_INSIDE_RUNTIME_IS_SCOUT'): - self.assertEqual(os.environ.get('STEAM_RUNTIME'), '/') - elif os.environ.get('TEST_INSIDE_RUNTIME_IS_SOLDIER'): - self.assertEqual(os.environ.get('STEAM_RUNTIME'), None) + # No actual *tests* here just yet - we just log what's there. def test_overrides(self) -> None: if os.getenv('TEST_INSIDE_RUNTIME_IS_COPY'):