summarylogtreecommitdiffstats
path: root/start-superslicer.sh
blob: d5fa5bfd5ede3b8b0444707e4532841d53e26264 (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-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"

/usr/share/SuperSlicer/superslicer "$@"