2020-10-11 18:13:41 +00:00
|
|
|
#!/bin/bash
|
2021-03-31 11:36:41 +00:00
|
|
|
|
2021-06-11 14:49:10 +00:00
|
|
|
import_settings()
|
|
|
|
{
|
|
|
|
if [ -d "$1" ] && [ ! -d "$HOME/.config/SuperSlicer-alpha" ]
|
|
|
|
then
|
|
|
|
echo "import data from $1 to the new data folder ~/.config/SuperSlicer-alpha"
|
|
|
|
cp -r "$HOME/.SuperSlicer" "$HOME/.config/SuperSlicer-alpha"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
import_settings "$HOME/.config/SuperSlicer"
|
|
|
|
import_settings "$HOME/.SuperSlicer"
|
2021-03-31 11:36:41 +00:00
|
|
|
|
2020-12-31 14:55:52 +00:00
|
|
|
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/wxgtk-dev/lib" /usr/share/SuperSlicer/superslicer "$@"
|