From 2c185e98d6d5593ebbe90a058ee5ba2be93b7ffa Mon Sep 17 00:00:00 2001 From: Fzul <162413089+faizul726@users.noreply.github.com> Date: Sun, 2 Nov 2025 13:20:42 +0600 Subject: [PATCH] fix: use not defined instead of string compare --- install.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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