mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 22:25:57 +08:00
Merge pull request #13630 from sree314/main
Use ARGV0 to select the executable to execute from AppRun. Intended to run CuraEngine
This commit is contained in:
commit
2e7943cf9a
@ -17,4 +17,9 @@ export OPENSSL_CONF="$scriptdir/openssl.cnf"
|
||||
# unset `QT_STYLE_OVERRIDE` as a precaution
|
||||
unset QT_STYLE_OVERRIDE
|
||||
|
||||
$scriptdir/UltiMaker-Cura "$@"
|
||||
BIN=`basename "$ARGV0" .AppImage`
|
||||
if [ -f $scriptdir/$BIN ]; then
|
||||
$scriptdir/$BIN "$@"
|
||||
else
|
||||
$scriptdir/UltiMaker-Cura "$@"
|
||||
fi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user