From dde64b73d1cf60f5443ade0393eeb22502c93c99 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 11 Jul 2025 21:53:24 -0400 Subject: persist cmd pass through oops --- main.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.py') diff --git a/main.py b/main.py index 64412b5..e90027d 100644 --- a/main.py +++ b/main.py @@ -323,6 +323,10 @@ exec "$@" else: script_content += "# export MESA_VK_WSI_PRESENT_MODE=immediate # - disable vsync\n" + # Add the exec line to allow the script to execute passed commands + script_content += "\n# Execute the passed command with the environment variables set\n" + script_content += "exec \"$@\"\n" + # Write the updated script with open(lsfg_script_path, 'w') as f: f.write(script_content) -- cgit v1.2.3