From f2dd0e8c35da2b0dc6c2bbc32711d1ac596eefa4 Mon Sep 17 00:00:00 2001 From: Slava Kim Date: Wed, 4 Feb 2015 14:50:04 -0800 Subject: [PATCH] Add a check for 7zip --- meteor.bat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meteor.bat b/meteor.bat index a4e76aeaf0..f4cb4f4081 100644 --- a/meteor.bat +++ b/meteor.bat @@ -2,6 +2,13 @@ rem only if we are running from a checkout IF EXIST "%~dp0\.git" ( + rem verify that we have 7zip in the path + 7z.exe --help > con + IF errorlevel 1 ( + echo "Please install 7z.exe (7-Zip) and put it into your PATH" + exit 1 + ) + rem if dev_bundle is not present, get it IF NOT EXIST "%~dp0\dev_bundle" ( REM need `< con` so that we can run this file from Node