superslicer-prerelease/start-superslicer.sh

16 lines
373 B
Bash
Raw Normal View History

#!/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
2021-09-07 16:57:36 +00:00
/usr/share/SuperSlicer/superslicer "$@"