From 1f35bb4b02d5cdf16f9a858f8df3d10fcbca94a3 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 23 Jul 2015 17:56:04 +0800 Subject: add more install log for windows --- install.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.bat b/install.bat index 3db8a0759..6e90f5ab9 100644 --- a/install.bat +++ b/install.bat @@ -38,6 +38,7 @@ cmd /K build.bat cd .. rem install the xmake core file +echo installing xmake-core... set xmake_core=core\bin\demo.pkg\bin\msvc\x86\demo.exe set xmake_core_install=%xmake_dir_install%\xmake_core.exe copy /Y "%xmake_core%" "%xmake_core_install%" > install.log @@ -46,6 +47,7 @@ rem install the xmake directory xcopy /S /Q /Y "xmake" "%xmake_dir_install%" >> install.log rem make the xmake loader +echo installing xmake-loader... set xmake_loader=%temp%\xmake_loader echo @echo off > %xmake_loader% echo set XMAKE_PROGRAM_DIR=%xmake_dir_install%>> %xmake_loader% @@ -56,6 +58,7 @@ set xmake_loader_install=%xmake_dir_install%\xmake.bat copy /Y "%xmake_loader%" "%xmake_loader_install%" >> install.log rem set global PATH=%xmake_dir_install% +echo register xmake... echo %path% | findstr /i /C:"%xmake_dir_install%" >> nul && (goto set_path_ok) tools\dtreg.exe -MachineEnvSet path="%path%;%xmake_dir_install%" >> install.log :set_path_ok -- cgit v1.3.1