Skip to content

Commit

Permalink
fix linux release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenny4 committed Jun 15, 2023
1 parent 9c1a8dd commit 1c00928
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions script/linux/install_release.sh
Original file line number Diff line number Diff line change
@@ -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
rm $folderPath/$downloadFileName
$execPath & rm $folderPath/install_release.sh
Empty file modified script/windows/install_release.bat
100644 → 100755
Empty file.

0 comments on commit 1c00928

Please sign in to comment.