diff options
| author | Anders Kaseorg <andersk@mit.edu> | 2021-07-01 17:08:24 -0700 |
|---|---|---|
| committer | Anders Kaseorg <andersk@mit.edu> | 2021-07-01 17:16:10 -0700 |
| commit | b5160bba86e7a47573dde96c779dffa0526d9858 (patch) | |
| tree | 91d70b6c60599aebf5ef552afcea024b0ed61081 /pkgs/development/python-modules/rangehttpserver | |
| parent | 3a8d7958a610cd3fec3a6f424480f91a1b259185 (diff) | |
appimageTools.wrapAppImage: Fix passing arguments to wrapped executable
appimage-exec.sh parses its arguments with getopts, so we need to
delimit arguments intended for the wrapped executable with ‘--’, in
case some of them begin with ‘-’.
Without this fix, a wrapped application like Zulip Desktop can’t be
opened the normal way using the .desktop file, which includes
‘Exec=zulip --no-sandbox %U’ (as per the electron-builder default):
$ gtk-launch zulip.desktop
/usr/bin/appimage-exec.sh: illegal option -- -
Usage: appimage-run [appimage-run options] <AppImage> [AppImage options]
[…]
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
