support eweOS ISO (#3068)

This commit is contained in:
longpanda
2025-01-22 18:24:09 +08:00
parent b11c38779d
commit f62bd1be14
4 changed files with 109 additions and 1 deletions

View File

@@ -384,6 +384,12 @@ ventoy_get_os_type() {
fi
fi
if [ -f /etc/tinyramfs/config ]; then
if $GREP -q 'EWE_ISO' /etc/tinyramfs/config; then
echo "ewe"; return
fi
fi
echo "default"
}