X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/293f677cbfbaae984fc3063c62d4b9afa0067520..dd906e0b16352e68a3df1384ffb6ee2ae421bb45:/Plugson/pack.sh diff --git a/Plugson/pack.sh b/Plugson/pack.sh index 6eed00e..340a79f 100644 --- a/Plugson/pack.sh +++ b/Plugson/pack.sh @@ -13,10 +13,23 @@ if [ ! -f ./vs/VentoyPlugson/Release/VentoyPlugson.exe ]; then exit 1 fi +if [ ! -f ./vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe ]; then + echo "NO VentoyPlugson_X64.exe found" + exit 1 +fi + if [ -f ./www.tar.xz ]; then rm -f ./www.tar.xz fi +[ -f ./www/helplist ] && rm -f ./www/helplist +ls -1 ../INSTALL/grub/help/ | while read line; do + echo -n ${line:0:5} >> ./www/helplist +done +[ -f ./www/menulist ] && rm -f ./www/menulist +ls -1 ../INSTALL/grub/menu/ | while read line; do + echo -n ${line:0:5} >> ./www/menulist +done echo -n "$plugson_verion" > ./www/buildtime tar cf www.tar www @@ -25,6 +38,10 @@ xz --check=crc32 www.tar rm -f ../INSTALL/VentoyPlugson.exe cp -a ./vs/VentoyPlugson/Release/VentoyPlugson.exe ../INSTALL/VentoyPlugson.exe +rm -f ../INSTALL/VentoyPlugson_X64.exe +cp -a ./vs/VentoyPlugson/x64/Release/VentoyPlugson_X64.exe ../INSTALL/VentoyPlugson_X64.exe + + rm -f ../INSTALL/tool/plugson.tar.xz mv ./www.tar.xz ../INSTALL/tool/plugson.tar.xz