1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 10:51:28 +00:00

Create setenv.cmd

This commit is contained in:
Catfriend1 2020-05-17 15:29:02 +02:00
parent 338537e659
commit e39c460837

19
setenv.cmd Normal file
View file

@ -0,0 +1,19 @@
@echo off
REM
where git 2> NUL: || call :addGitToPath
SET PATH=C:\Program Files\Android\Android Studio\jre\bin;C:\Program Files\Java\jdk1.8.0_241\bin;"%GIT_INSTALL_DIR%\bin";"%GIT_INSTALL_DIR%\cmd";%PATH%
REM
REM End of Script.
REM
goto :eof
:addGitToPath
REM
IF DEFINED GIT_INSTALL_DIR goto :eof
IF NOT EXIST "%ProgramFiles%\Git\cmd\git.exe" goto :eof
REM
SET GIT_INSTALL_DIR=%ProgramFiles%\Git
echo [INFO] Set GIT_INSTALL_DIR to [%GIT_INSTALL_DIR%] ...
REM
goto :eof