mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Search the GitHub Desktop git.exe path.
This commit is contained in:
parent
4ddc12ce40
commit
c70d519e04
@ -33,7 +33,7 @@ if not defined GIT (
|
||||
)
|
||||
call %GIT% describe --always > NUL 2> NUL
|
||||
if errorlevel 1 (
|
||||
echo Git not on path, trying default Msysgit paths
|
||||
echo Git not on path, trying default Msysgit paths...
|
||||
set GIT="%ProgramFiles(x86)%\Git\bin\git.exe"
|
||||
call !GIT! describe > NUL 2> NUL
|
||||
if errorlevel 1 (
|
||||
@ -41,6 +41,17 @@ if errorlevel 1 (
|
||||
)
|
||||
)
|
||||
|
||||
call %GIT% describe --always > NUL 2> NUL
|
||||
if errorlevel 1 (
|
||||
echo Git not on path, trying GitHub Desktop..
|
||||
rem // Cheating using short filenames.
|
||||
set GIT="%USERPROFILE%\AppData\Local\GitHub\PORTAB~1\bin\git.exe"
|
||||
call !GIT! describe > NUL 2> NUL
|
||||
if errorlevel 1 (
|
||||
set GIT="%USERPROFILE%\AppData\Local\GitHub\PORTAB~2\bin\git.exe"
|
||||
)
|
||||
)
|
||||
|
||||
call %GIT% describe --always > NUL 2> NUL
|
||||
if errorlevel 1 (
|
||||
set GIT_MISSING=1
|
||||
|
Loading…
Reference in New Issue
Block a user