Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Commit a490f09

Browse files
authored
fix: add file existence check for compatibility checker
1 parent cdf073c commit a490f09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CheckCompatibility.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ for %%F in ("src\hbui\*.js") do (
88
)
99

1010
echo Extracting appx...
11+
if not exist mcappx.zip (exit /b 1)
1112
7z x mcappx.zip -otmp
1213

1314
echo Checking compatibility...
@@ -18,4 +19,5 @@ if exist "tmp\data\gui\dist\hbui\%currentFileName%" (
1819
echo Incompatible with %1
1920
>tmp\compatibility-status.json echo {"schemaVersion":1,"label":"%1","message":"Not supported, needs update","color":"red"}
2021
echo ntg>failure
21-
)
22+
23+
)

0 commit comments

Comments
 (0)