X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d8433985e72462bd5c64c698e5252038eb2f6ce4..dd2411d7d47fd72be78802cb28d6f0ef73785e9e:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index d6eedba..ed7d123 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -8,7 +8,7 @@ fi dos2unix -q ./tool/ventoy_lib.sh dos2unix -q ./tool/VentoyWorker.sh - +dos2unix -q ./tool/VentoyGTK.glade . ./tool/ventoy_lib.sh @@ -77,9 +77,13 @@ cp $OPT ./tool/ENROLL_THIS_KEY_IN_MOKMANAGER.cer $tmpmnt/ mkdir -p $tmpmnt/tool -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 +# 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 +# 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 rm -f $tmpmnt/grub/i386-pc/*.img @@ -100,6 +104,7 @@ cp $OPT ./tool $tmpdir/ rm -f $tmpdir/ENROLL_THIS_KEY_IN_MOKMANAGER.cer cp $OPT Ventoy2Disk.sh $tmpdir/ cp $OPT VentoyWeb.sh $tmpdir/ +cp $OPT VentoyGUI* $tmpdir/ #cp $OPT Ventoy.desktop $tmpdir/ cp $OPT README $tmpdir/ @@ -127,11 +132,15 @@ rm -f ventoy-${curver}-linux.tar.gz CurDir=$PWD -for d in i386 x86_64 aarch64; do +for d in i386 x86_64 aarch64 mips64el; do cd $tmpdir/tool/$d for file in $(ls); do if [ "$file" != "xzcat" ]; then - xz --check=crc32 $file + if echo "$file" | grep -q '^Ventoy2Disk'; then + chmod +x $file + else + xz --check=crc32 $file + fi fi done cd $CurDir @@ -142,6 +151,9 @@ find $tmpdir/ -type d -exec chmod 755 "{}" + find $tmpdir/ -type f -exec chmod 644 "{}" + chmod +x $tmpdir/Ventoy2Disk.sh chmod +x $tmpdir/VentoyWeb.sh +chmod +x $tmpdir/VentoyGUI* + +cp $OPT $LANG_DIR/languages.json $tmpdir/tool/ #chmod +x $tmpdir/Ventoy.desktop chmod +x $tmpdir/CreatePersistentImg.sh