From 1c0092878ae3b75c019b85b17692f99d7413aa13 Mon Sep 17 00:00:00 2001 From: Lenny4 Date: Wed, 14 Jun 2023 23:25:27 -0400 Subject: [PATCH] fix linux release --- script/linux/install_release.sh | 9 +++++---- script/windows/install_release.bat | 0 2 files changed, 5 insertions(+), 4 deletions(-) mode change 100644 => 100755 script/windows/install_release.bat 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