X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/67e839b9f2a7bc66cff31621047b0e0c5b652d87..32a964ededf704cd374dbc96681233a8bf8b6eb4:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 85c40cf..e9b1a1c 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -27,6 +27,10 @@ sh mkcpio.sh sh mkloopex.sh cd - +cd ../Unix +sh pack_unix.sh +cd - + cd ../LinuxGUI sh language.sh || exit 1 sh build.sh @@ -78,6 +82,7 @@ cp $OPT ./tool/i386/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_i386 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 + rm -f $tmpmnt/grub/i386-pc/*.img @@ -101,11 +106,13 @@ cp $OPT VentoyWebDeepin.sh $tmpdir/ cp $OPT README $tmpdir/ cp $OPT plugin $tmpdir/ cp $OPT CreatePersistentImg.sh $tmpdir/ +cp $OPT ExtendPersistentImg.sh $tmpdir/ dos2unix -q $tmpdir/Ventoy2Disk.sh dos2unix -q $tmpdir/VentoyWeb.sh dos2unix -q $tmpdir/VentoyWebDeepin.sh #dos2unix -q $tmpdir/Ventoy.desktop dos2unix -q $tmpdir/CreatePersistentImg.sh +dos2unix -q $tmpdir/ExtendPersistentImg.sh cp $OPT ../LinuxGUI/WebUI $tmpdir/ sed 's/.*SCRIPT_DEL_THIS \(.*\)/\1/g' -i $tmpdir/WebUI/index.html @@ -139,6 +146,7 @@ chmod +x $tmpdir/VentoyWeb.sh chmod +x $tmpdir/VentoyWebDeepin.sh #chmod +x $tmpdir/Ventoy.desktop chmod +x $tmpdir/CreatePersistentImg.sh +chmod +x $tmpdir/ExtendPersistentImg.sh tar -czvf ventoy-${curver}-linux.tar.gz $tmpdir @@ -146,7 +154,7 @@ tar -czvf ventoy-${curver}-linux.tar.gz $tmpdir rm -f ventoy-${curver}-windows.zip cp $OPT Ventoy2Disk*.exe $tmpdir/ -cp $OPT $LANG_DIR/languages.ini $tmpdir/ventoy/ +cp $OPT $LANG_DIR/languages.json $tmpdir/ventoy/ rm -rf $tmpdir/tool rm -f $tmpdir/*.sh rm -rf $tmpdir/WebUI