try git and python install

This commit is contained in:
Lurenaud 2023-02-07 18:10:13 +01:00
parent ba8ed298a6
commit 3739c276dd

View File

@ -0,0 +1,25 @@
@echo off
@REM Git and python install
set test
python --version 3 > test
echo %test%
if (%test%== 0) GOTO :EOF
ECHO Installing python
@REM curl -o python.exe https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe
@REM python.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0
:EOF
IF EXIST git GOTO :end
ECHO Installing Git
@REM winget install --id Git.Git -e --source winget
:end
@echo on
@REM Get the project and install it
@REM git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git
@REM copy SldwrksExporter\scripts\runExport.cmd runExport.cmd
@REM cd SldwrksExporter
@REM powershell -file "install.ps1"
@REM (goto) 2>nul & del "%~f0" & cmd /c exit /b 10