mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Use ARGV0 to invoke other binaries inside AppImage
This commit is contained in:
parent
5c65ba5058
commit
b118a1b1b5
1 changed files with 6 additions and 1 deletions
|
|
@ -17,4 +17,9 @@ export OPENSSL_CONF="$scriptdir/openssl.cnf"
|
||||||
# unset `QT_STYLE_OVERRIDE` as a precaution
|
# unset `QT_STYLE_OVERRIDE` as a precaution
|
||||||
unset QT_STYLE_OVERRIDE
|
unset QT_STYLE_OVERRIDE
|
||||||
|
|
||||||
$scriptdir/UltiMaker-Cura "$@"
|
BIN=`basename "$ARGV0" .AppImage`
|
||||||
|
if [ -f $scriptdir/$BIN ]; then
|
||||||
|
$scriptdir/$BIN "$@"
|
||||||
|
else
|
||||||
|
$scriptdir/UltiMaker-Cura "$@"
|
||||||
|
fi;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue