X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/0f8478fbe1ecbcfd7a1f189d1ca2a60d05cdf322..a287bf89079f32172dc357727405db19084247f7:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 91c7840..2044dfa 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -16,6 +16,7 @@ fi cd ../IMG sh mkcpio.sh +sh mkloopex.sh cd - @@ -80,6 +81,7 @@ cp -a ./tool $tmpdir/ rm -f $tmpdir/ENROLL_THIS_KEY_IN_MOKMANAGER.cer cp -a Ventoy2Disk.sh $tmpdir/ cp -a README $tmpdir/ +cp -a plugin $tmpdir/ cp -a CreatePersistentImg.sh $tmpdir/ dos2unix -q $tmpdir/Ventoy2Disk.sh dos2unix -q $tmpdir/CreatePersistentImg.sh @@ -102,9 +104,17 @@ for file in $(ls); do fi done +#chmod cd $CurDir +find $tmpdir/ -type d -exec chmod 755 "{}" + +find $tmpdir/ -type f -exec chmod 644 "{}" + +chmod +x $tmpdir/Ventoy2Disk.sh +chmod +x $tmpdir/CreatePersistentImg.sh + tar -czvf ventoy-${curver}-linux.tar.gz $tmpdir + + rm -f ventoy-${curver}-windows.zip cp -a Ventoy2Disk*.exe $tmpdir/ cp -a $LANG_DIR/languages.ini $tmpdir/ventoy/ @@ -117,6 +127,12 @@ zip -r ventoy-${curver}-windows.zip $tmpdir/ rm -rf $tmpdir +cd ../LiveCD +sh livecd.sh +cd $CurDir + +mv ../LiveCD/ventoy*.iso ./ + if [ -e ventoy-${curver}-windows.zip ] && [ -e ventoy-${curver}-linux.tar.gz ]; then echo -e "\n ============= SUCCESS =================\n" else