mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-11-04 06:00:13 +00:00
849dfb463d
2. The update button is available even if data corrupted in VTOYEFI partition. 3. Set the default focus to No when you click Install button in Ventoy2Disk.exe. 4. Fix a BUG when booting Windows VHD(x) with the latest ventoy_vhdboot.img. 5. Support boot Windows VHD(x) files in local disk.
18 lines
312 B
Bash
18 lines
312 B
Bash
#!/bin/sh
|
|
|
|
VTOY_PATH=$1
|
|
|
|
if [ ! -f $VTOY_PATH/LANGUAGES/languages.json ]; then
|
|
exit 1
|
|
fi
|
|
|
|
gcc -DFOR_VTOY_JSON_CHECK $VTOY_PATH/Ventoy2Disk/Ventoy2Disk/VentoyJson.c -I $VTOY_PATH/Ventoy2Disk/Ventoy2Disk/ -o checkjson
|
|
|
|
./checkjson $VTOY_PATH/LANGUAGES/languages.json
|
|
ret=$?
|
|
|
|
rm -f ./checkjson
|
|
[ $ret -eq 0 ]
|
|
|
|
|