summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-04-11 11:10:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-04-11 11:10:14 +0200
commit86f67baffd6ce9170a146731cc85f0720686e471 (patch)
tree4b35bdcf3ccf0d958b0d6d11df352178c6831055
parent2ba2e84ef06f1d98b99c86b8e77f7daa80d389b6 (diff)
downloadbin-86f67baffd6ce9170a146731cc85f0720686e471.tar.gz
bin-86f67baffd6ce9170a146731cc85f0720686e471.tar.xz
slic3r: Support current prusa edition
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xslic3r24
1 files changed, 1 insertions, 23 deletions
diff --git a/slic3r b/slic3r
index 98d24bf..4ec87bf 100755
--- a/slic3r
+++ b/slic3r
@@ -2,26 +2,4 @@
gitdir="$HOME/git/Slic3r"
-exec perl -Mlocal::lib="$gitdir/local-lib" "$gitdir/slic3r.pl" "$@"
-
-#merged="$HOME/.Slic3r/config.ini.merged"
-#truncate -s 0 "$merged"
-
-TMPDIR="$(mktemp -d "/tmp/${0##*/}.XXXXXX")"
-trap "rm -rf '${TMPDIR}'" EXIT TERM
-
-locallib="$TMPDIR/local-lib-dir"
-
-# I don't want to install the libs
-mkdir -p "$locallib"
-ln -sr "$gitdir/xs/blib/lib/Slic3r/" "$locallib/Slic3r"
-ln -sr "$gitdir/xs/blib/arch/auto/" "$locallib/auto"
-
-#for config in "$HOME"/.Slic3r/*/config.ini; do
- #opts+=(--load "$config")
- #cat "$config" >> "$merged"
-#done
-
-#opts+=(--load "$merged")
-
-perl -I"$locallib" "$gitdir/slic3r.pl" "${opts[@]}" "$@"
+exec "$gitdir/build/src/slic3r-gui" "$@"