mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06: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
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
|
||||
|
||||
$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