Better handling of git folder in installer script
This commit is contained in:
1 parent
cfab637a71
commit
fa51af770e
1 file changed
+11
-2
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user