blob: 4d8694a7344674b4a01b0d151f4d4adebea20b59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
import_settings()
{
if [ -d "$1" ] && [ ! -d "$HOME/.config/SuperSlicer" ]
then
echo "import data from $1 to the new data folder ~/.config/SuperSlicer"
cp -r "$HOME/.SuperSlicer" "$HOME/.config/SuperSlicer"
fi
}
import_settings "$HOME/.SuperSlicer"
import_settings "$HOME/.config/SuperSlicer-alpha"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/wxgtk-dev/lib" /usr/share/SuperSlicer/superslicer "$@"
|