mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 21:22:01 +08:00
Now work as startup script from every directory, also if runt from a link in /usr/bin, with spaces, or from a desktop shortcut (#4266)
This commit is contained in:
parent
19ea7a596a
commit
dc9d7ed70f
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR=$(dirname "$0")
|
||||
export LD_LIBRARY_PATH=./bin
|
||||
BIN=$(readlink "$0")
|
||||
DIR=$(dirname "$BIN")
|
||||
export LD_LIBRARY_PATH="$DIR/bin"
|
||||
exec "$DIR/perl-local" -I"$DIR/local-lib/lib/perl5" "$DIR/slic3r.pl" $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user