export: capture full container command when exporting app (#1170)

This commit is contained in:
FrauH0lle
2024-02-01 22:38:18 +01:00
committed by GitHub
parent 437e0c7538
commit 770f0eaa81

View File

@@ -460,7 +460,7 @@ export_application() {
# Add closing quote
# If a TryExec is present, we have to fake it as it will not work
# through the container separation
sed "s|^Exec=|Exec=${container_command_prefix} |g" "${desktop_file}" |
sed "s|^Exec=\(.*\)|Exec=${container_command_prefix} '\1' |g" "${desktop_file}" |
sed "s|\(%.*\)|${extra_flags} \1|g" |
sed "/^TryExec=.*/d" |
sed "/^DBusActivatable=true/d" |