linuxdeployqt icon indicating copy to clipboard operation
linuxdeployqt copied to clipboard

customscript instead of AppRun use sudo failed

Open kidalake opened this issue 5 years ago • 3 comments

#!/bin/bash HERE="$(dirname "$(readlink -f "${0}")")" export LD_LIBRARY_PATH=${HERE}/usr/lib/foobar:$LD_LIBRARY_PATH sudo"${HERE}/usr/bin/foo" "$@"

run appimage show results like this: sudo: xx/usr/bin/foo: command not found

kidalake avatar Apr 12 '19 01:04 kidalake

What makes you think this is a bug in linuxdeployqt rather than a bug in your script?

probonopd avatar Apr 12 '19 20:04 probonopd

What makes you think this is a bug in linuxdeployqt rather than a bug in your script?

It could be my fault! but when run the script directly it work success.

kidalake avatar Apr 13 '19 11:04 kidalake

Can you upload your AppImage for analysis please?

probonopd avatar Apr 14 '19 05:04 probonopd