X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d1481392271fd44b04c384a3dd56f3386edadfb3..164c8d65056c27fc8675b5df2fb9246bb92b1a00:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 7a4be25..00a4b2f 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -72,6 +72,13 @@ ls -1 ./grub/ | grep -v 'grub\.cfg' | while read line; do cp $OPT ./grub/$line $tmpmnt/grub/ done +#tar help txt +cd $tmpmnt/grub/ +tar czf help.tar.gz ./help/ +rm -rf ./help +cd ../../ + + cp $OPT ./ventoy $tmpmnt/ cp $OPT ./EFI $tmpmnt/ cp $OPT ./tool/ENROLL_THIS_KEY_IN_MOKMANAGER.cer $tmpmnt/ @@ -82,9 +89,9 @@ mkdir -p $tmpmnt/tool # cp $OPT ./tool/x86_64/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_x86_64 # cp $OPT ./tool/aarch64/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_aarch64 # to save space -cp $OPT ./tool/i386/vtoygpt $tmpmnt/tool/mount.exfat-fuse_i386 -cp $OPT ./tool/x86_64/vtoygpt $tmpmnt/tool/mount.exfat-fuse_x86_64 -cp $OPT ./tool/aarch64/vtoygpt $tmpmnt/tool/mount.exfat-fuse_aarch64 +dd status=none bs=1024 count=16 if=./tool/i386/vtoycli of=$tmpmnt/tool/mount.exfat-fuse_i386 +dd status=none bs=1024 count=16 if=./tool/x86_64/vtoycli of=$tmpmnt/tool/mount.exfat-fuse_x86_64 +dd status=none bs=1024 count=16 if=./tool/aarch64/vtoycli of=$tmpmnt/tool/mount.exfat-fuse_aarch64 rm -f $tmpmnt/grub/i386-pc/*.img @@ -107,7 +114,7 @@ cp $OPT Ventoy2Disk.sh $tmpdir/ cp $OPT VentoyWeb.sh $tmpdir/ cp $OPT VentoyGUI* $tmpdir/ -#cp $OPT Ventoy.desktop $tmpdir/ + cp $OPT README $tmpdir/ cp $OPT plugin $tmpdir/ cp $OPT CreatePersistentImg.sh $tmpdir/ @@ -115,7 +122,7 @@ cp $OPT ExtendPersistentImg.sh $tmpdir/ dos2unix -q $tmpdir/Ventoy2Disk.sh dos2unix -q $tmpdir/VentoyWeb.sh -#dos2unix -q $tmpdir/Ventoy.desktop + dos2unix -q $tmpdir/CreatePersistentImg.sh dos2unix -q $tmpdir/ExtendPersistentImg.sh @@ -156,7 +163,7 @@ chmod +x $tmpdir/VentoyGUI* cp $OPT $LANG_DIR/languages.json $tmpdir/tool/ -#chmod +x $tmpdir/Ventoy.desktop + chmod +x $tmpdir/CreatePersistentImg.sh chmod +x $tmpdir/ExtendPersistentImg.sh @@ -165,10 +172,18 @@ tar -czvf ventoy-${curver}-linux.tar.gz $tmpdir rm -f ventoy-${curver}-windows.zip -cp $OPT Ventoy2Disk*.exe $tmpdir/ + +cp $OPT Ventoy2Disk.exe $tmpdir/ +cp $OPT FOR_X64_ARM.txt $tmpdir/ +mkdir -p $tmpdir/altexe +cp $OPT Ventoy2Disk_*.exe $tmpdir/altexe/ + + + cp $OPT $LANG_DIR/languages.json $tmpdir/ventoy/ rm -rf $tmpdir/tool rm -f $tmpdir/*.sh +rm -f $tmpdir/VentoyGUI.* rm -rf $tmpdir/WebUI rm -f $tmpdir/README @@ -178,11 +193,11 @@ zip -r ventoy-${curver}-windows.zip $tmpdir/ rm -rf $tmpdir echo "=============== run livecd.sh ===============" -cd ../LiveCD +cd ../LiveCDGUI sh livecd.sh $1 cd $CurDir -mv ../LiveCD/ventoy*.iso ./ +mv ../LiveCDGUI/ventoy*.iso ./ if [ -e ventoy-${curver}-windows.zip ] && [ -e ventoy-${curver}-linux.tar.gz ]; then echo -e "\n ============= SUCCESS =================\n"