Better handling of git folder in installer script

This commit is contained in:
Florian Küpper committed 2017-08-28 20:16:29 +02:00
1 parent cfab637a71
commit fa51af770e
1 file changed
+11 -2
+11 -2
View File
@@ -9,8 +9,17 @@
@ECHO OFF @ECHO OFF
echo Cloning vocaluxe from github and checkout master echo Cloning vocaluxe from github and checkout master
git clone -q https://github.com/Vocaluxe/Vocaluxe.git Files > log.txt if exist "Files" (
git checkout -q develop >> log.txt cd Files
git checkout -q develop >> log.txt
git pull -q >> log.txt
cd ../
) else (
git clone -q https://github.com/Vocaluxe/Vocaluxe.git Files > log.txt
cd Files
git checkout -q develop >> log.txt
cd ../
)
echo - Done echo - Done
echo. echo.