diff --git a/script/linux/install_release.sh b/script/linux/install_release.sh index 8e4d4c9..ca14741 100755 --- a/script/linux/install_release.sh +++ b/script/linux/install_release.sh @@ -1,16 +1,17 @@ set -e -#just to be sure that DeepFaceLabClient is closed -sleep 2 - folderName=$1 folderPath=$2 downloadFileName=$3 execPath=$4 createdFolder=$5 +#just to be sure that DeepFaceLabClient is closed +sleep 2 + rm -rf $folderPath/$folderName unzip -o $folderPath/$downloadFileName -d $folderPath #to preserve shortcut and symbolic link mv $folderPath/$createdFolder $folderPath/$folderName -$execPath \ No newline at end of file +rm $folderPath/$downloadFileName +$execPath & rm $folderPath/install_release.sh \ No newline at end of file diff --git a/script/windows/install_release.bat b/script/windows/install_release.bat old mode 100644 new mode 100755