superslicer-prerelease/start-superslicer.sh

10 lines
344 B
Bash
Raw Normal View History

#!/bin/bash
2021-03-31 11:36:41 +00:00
if [ -d "$HOME/.SuperSlicer" ] && [ ! -d "$HOME/.config/SuperSlicer-alpha" ]
then
echo "copy data from ~/.SuperSlicer to the new data folder ~/.config/SuperSlicer-alpha"
cp -r "$HOME/.SuperSlicer" "$HOME/.config/SuperSlicer-alpha"
fi
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/wxgtk-dev/lib" /usr/share/SuperSlicer/superslicer "$@"