X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/7db83dc0f1820acaa84b2e00dce3c7a6e994c167..dd2411d7d47fd72be78802cb28d6f0ef73785e9e:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 8d47fe7..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 @@ -104,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/ @@ -131,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 @@ -146,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