Update install.bat

This commit is contained in:
Егор 2024-11-08 12:55:18 +05:00 committed by GitHub
parent cee23fd147
commit 71859b700b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
@echo off @echo off
for /f %%a in ('echo prompt $E^| cmd') do set "ESC=%%a" for /f %%a in ('echo prompt $E^| cmd') do set "ESC=%%a"
@ -6,7 +7,7 @@ set TOOLCHAIN_DIR=C:\MinGW\msys\1.0\home\autobuild\tools
Call :print_msg Create the C:/MinGW/msys/1.0/home/autobuild folder... Call :print_msg Create the %TOOLCHAIN_DIR% folder...
mkdir %TOOLCHAIN_DIR% mkdir %TOOLCHAIN_DIR%
@ -56,7 +57,7 @@ Call :print_ok Successfully!
Call :print_msg Adding C:/MinGW/msys/1.0/home/autobuild/tools/win32/bin to PATH Call :print_msg Adding C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin to PATH
set PATH=%PATH%;%TOOLCHAIN_DIR%%\win32\bin set PATH=%PATH%;%TOOLCHAIN_DIR%%\win32\bin
@ -67,9 +68,9 @@ Call :print_ok Installation was successful!
:print_msg :print_msg
echo %ESC%[92m%*%ESC%[%m echo %ESC%[34m%*%ESC%[%m
exit /b exit /b
:print_ok :print_ok
echo %ESC%[36m%*%ESC%[%m echo %ESC%[32m%*%ESC%[%m
exit /b exit /b