diff options
-rw-r--r-- | install.bat | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install.bat b/install.bat index 2e28046c..0100ca63 100644 --- a/install.bat +++ b/install.bat | |||
@@ -583,7 +583,7 @@ local function get_msvc_env_setup_cmd() | |||
583 | for _, bat in ipairs(vcvars_bats[vars.UNAME_M]) do | 583 | for _, bat in ipairs(vcvars_bats[vars.UNAME_M]) do |
584 | local full_path = vcdir .. bat | 584 | local full_path = vcdir .. bat |
585 | if exists(full_path) then | 585 | if exists(full_path) then |
586 | return ('call "%s"'):format(full_path) | 586 | return ('call "%s" > NUL'):format(full_path) |
587 | end | 587 | end |
588 | end | 588 | end |
589 | 589 | ||
@@ -592,7 +592,7 @@ local function get_msvc_env_setup_cmd() | |||
592 | local vcvarsall = vcdir .. 'vcvarsall.bat' | 592 | local vcvarsall = vcdir .. 'vcvarsall.bat' |
593 | if exists(vcvarsall) then | 593 | if exists(vcvarsall) then |
594 | local vcvarsall_args = { x86 = "", x86_64 = " amd64", arm64 = " x86_arm64" } | 594 | local vcvarsall_args = { x86 = "", x86_64 = " amd64", arm64 = " x86_arm64" } |
595 | return ('call "%s"%s'):format(vcvarsall, vcvarsall_args[vars.UNAME_M]) | 595 | return ('call "%s"%s > NUL'):format(vcvarsall, vcvarsall_args[vars.UNAME_M]) |
596 | end | 596 | end |
597 | end | 597 | end |
598 | 598 | ||
@@ -601,7 +601,7 @@ local function get_msvc_env_setup_cmd() | |||
601 | if wsdkdir then | 601 | if wsdkdir then |
602 | local setenv = wsdkdir.."Bin\\SetEnv.cmd" | 602 | local setenv = wsdkdir.."Bin\\SetEnv.cmd" |
603 | if exists(setenv) then | 603 | if exists(setenv) then |
604 | return ('call "%s" /%s'):format(setenv, x64 and "x64" or "x86") | 604 | return ('call "%s" /%s > NUL'):format(setenv, x64 and "x64" or "x86") |
605 | end | 605 | end |
606 | end | 606 | end |
607 | 607 | ||