mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Search the GitHub Desktop git.exe path.
This commit is contained in:
1 parent
4ddc12ce40
commit
c70d519e04
1 file changed
+12
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user