feat: Enable optional logging and syntax checking for install.bat (#1964)

This commit is contained in:
Kroese
2026-07-25 20:00:11 +02:00
committed by GitHub
parent 213245e5c9
commit da7dd544b3
5 changed files with 382 additions and 167 deletions
+4 -1
View File
@@ -776,7 +776,7 @@ prepareImage() {
[ -f "$dir/$ETFS" ] && [ -s "$dir/$ETFS" ] &&
[ -f "$dir/$EFISYS" ] && [ -s "$dir/$EFISYS" ] && return 0
missing=$(basename "$dir/$EFISYS")
if [ ! -f "$dir/$ETFS" ] || [ ! -s "$dir/$ETFS" ]; then
missing=$(basename "$dir/$ETFS")
@@ -829,10 +829,13 @@ addFolder() {
fi
if [ -f "$file" ]; then
if ! unix2dos -q "$file"; then
error "Failed to convert $file to DOS format!"
return 1
fi
checkBatch "$file"
fi
return 0