diff --git a/install.bat b/install.bat index 3204c2b..9d5d2cd 100644 --- a/install.bat +++ b/install.bat @@ -19,7 +19,7 @@ for /f "delims=" %%I in ('powershell -NoProfile -Command "(Get-AppxPackage -Name set "InstallPath=%%I" ) -if "%InstallPath%"=="" ( +if not defined InstallPath ( echo Microsoft.MinecraftUWP was not found. Please make sure it is installed. pause exit /b 1 @@ -48,4 +48,4 @@ if %ERRORLEVEL% NEQ 0 ( echo Download completed successfully. -pause \ No newline at end of file +pause