Skip to content

Commit

Permalink
Update install.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor00f authored Nov 8, 2024
1 parent cee23fd commit 71859b7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
@echo off

for /f %%a in ('echo prompt $E^| cmd') do set "ESC=%%a"


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%

Expand Down Expand Up @@ -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

Expand All @@ -67,9 +68,9 @@ Call :print_ok Installation was successful!


:print_msg
echo %ESC%[92m%*%ESC%[%m
echo %ESC%[34m%*%ESC%[%m
exit /b

:print_ok
echo %ESC%[36m%*%ESC%[%m
echo %ESC%[32m%*%ESC%[%m
exit /b

0 comments on commit 71859b7

Please sign in to comment.