From fa51af770ec7c1ab24b083a8de12e9fa0f6762ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Mon, 28 Aug 2017 20:16:29 +0200 Subject: [PATCH] Better handling of git folder in installer script --- Installer/buildinstaller.bat | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Installer/buildinstaller.bat b/Installer/buildinstaller.bat index df208f83..ce4e3898 100644 --- a/Installer/buildinstaller.bat +++ b/Installer/buildinstaller.bat @@ -9,8 +9,17 @@ @ECHO OFF echo Cloning vocaluxe from github and checkout master -git clone -q https://github.com/Vocaluxe/Vocaluxe.git Files > log.txt -git checkout -q develop >> log.txt +if exist "Files" ( + 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.