AppImages that needs exec option in tmpfs

Hey,

there are some AppImages (electron apps) that after extracting their files under a temp directory in /tmp/ they need exec perms for their binaries to run there.

So you need to mount your /tmp/ with exec permissions.

I am wondering if there is a way to “fix” when packaging or in code. Alternative it could use another TMPDIR or perhaps a temp folder under /home/user/.tmp/xxx something.

for example jitsi meet electron is one of them:

but this is in many apps

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.Uoh1cq: failed to map segment from shared object

thanks in advance,

my personal workaround, is using a shell wrapper

alias Jitsi="mkdir -p ~/.tmpdir/ && env TMPDIR=~/.tmpdir/ /opt/AppImage/Jitsi-meet-x86_64.AppImage"

but I would love to find a way, that it would not need this.