diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-10 18:07:10 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-10 18:07:10 +0100 |
commit | d217aec05357e4bf958e82993b2e5a3fae9fb5b7 (patch) | |
tree | cd2788e9a38e2dbe76884cfb75d462ba7a5900c4 | |
parent | d088586296f6bba924b0cc65676dd7da4558fbdc (diff) |
Minor -sc fix for flatpak
-rw-r--r-- | src/main.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 64f8952..95276b5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1354,16 +1354,17 @@ static void run_recording_saved_script_async(const char *script_file, const char return; } - const char *args[6]; + const char *args[7]; const bool inside_flatpak = getenv("FLATPAK_ID") != NULL; if(inside_flatpak) { args[0] = "flatpak-spawn"; args[1] = "--host"; - args[2] = script_file_full; - args[3] = video_file; - args[4] = type; - args[5] = NULL; + args[2] = "--"; + args[3] = script_file_full; + args[4] = video_file; + args[5] = type; + args[6] = NULL; } else { args[0] = script_file_full; args[1] = video_file; |