Universal Git Analyzer v15 final
This commit is contained in:
36
run_windows.bat
Normal file
36
run_windows.bat
Normal file
@@ -0,0 +1,36 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
|
||||
where git >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
echo Git не найден. Установи Git for Windows: https://git-scm.com/download/win
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
where pyw >nul 2>nul
|
||||
if not errorlevel 1 (
|
||||
start "" pyw -3 "%~dp0main.py"
|
||||
exit /b 0
|
||||
)
|
||||
|
||||
where pythonw >nul 2>nul
|
||||
if not errorlevel 1 (
|
||||
start "" pythonw "%~dp0main.py"
|
||||
exit /b 0
|
||||
)
|
||||
|
||||
where py >nul 2>nul
|
||||
if not errorlevel 1 (
|
||||
py -3 "%~dp0main.py"
|
||||
exit /b 0
|
||||
)
|
||||
|
||||
where python >nul 2>nul
|
||||
if not errorlevel 1 (
|
||||
python "%~dp0main.py"
|
||||
exit /b 0
|
||||
)
|
||||
|
||||
echo Python не найден. Установи Python 3: https://www.python.org/downloads/
|
||||
pause
|
||||
Reference in New Issue
Block a user