diff --git a/scripts/build_grub2_204.sh b/scripts/build_grub2_204.sh index 6566f5d..dbe9b85 100644 --- a/scripts/build_grub2_204.sh +++ b/scripts/build_grub2_204.sh @@ -34,6 +34,10 @@ find "$SRC_DIR" -type f \( -name '*.c' -o -name '*.h' -o -name '*.S' \ -e 's/VTOY/HISO/g' \ -e 's/ventoy/hiperiso/g' \ -e 's/Ventoy/Hiperiso/g' \ + -e 's/vlnk/hlnk/g' \ + -e 's/VLNK/HLNK/g' \ + -e 's/Vlnk/Hlnk/g' \ + -e 's/0x77772020, 0x2e77, 0x6576, { 0x6e, 0x74, 0x6f, 0x79, 0x2e, 0x6e, 0x65, 0x74/0x65706968, 0x6972, 0x6f73, { 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x77, 0x77, 0x77/' \ {} + find "$SRC_DIR" -depth -type d \( -name '*ventoy*' -o -name '*Ventoy*' \) | while read d; do diff --git a/scripts/build_gui_all.sh b/scripts/build_gui_all.sh index 640c074..e03048c 100755 --- a/scripts/build_gui_all.sh +++ b/scripts/build_gui_all.sh @@ -199,7 +199,7 @@ safe_install_bin hisocli "$PAYLOAD/tool/x86_64/hisocli" gcc -O2 -D_FILE_OFFSET_BITS=64 -fno-pie -no-pie \ "$HIPERISO_ROOT/src/hisolnk/crc32.c" \ "$HIPERISO_ROOT/src/hisolnk/main_linux.c" \ - "$HIPERISO_ROOT/src/hisolnk/vlnk.c" \ + "$HIPERISO_ROOT/src/hisolnk/hlnk.c" \ -I"$HIPERISO_ROOT/src/hisolnk" \ -o hisolnk strip hisolnk