diff --git a/scripts/resetIllustrator.sh b/scripts/resetIllustrator.sh new file mode 100755 index 0000000..f1049b7 --- /dev/null +++ b/scripts/resetIllustrator.sh @@ -0,0 +1,18 @@ +#! /usr/bin/env bash + +source "sharedFuncs.sh" + +function resetIllustrator() { + load_paths + show_message2 "reset illustrator..." + resetDIR="$SCR_PATH/IllustratorCC17/Data" + + if [ -d "$resetDIR" ];then + show_message2 "reset dir found..." + rm -rf "$resetDIR" || error2 "illustrator error failed" + echo "illustrator reset successfully." + else + error2 "directory not exist" + fi +} +resetIllustrator \ No newline at end of file