]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - Plugson/pack.sh
3 if [ -n "$PKG_DATE" ]; then
4 plugson_verion
=$PKG_DATE
6 plugson_verion
=$(date '+%Y%m%d %H:%M:%S')
9 sed "s#.*plugson_build_date.*# <b id=\"plugson_build_date\">$plugson_verion</b>#" -i .
/www
/index.html
11 if [ ! -f .
/vs
/VentoyPlugson
/Release
/VentoyPlugson.exe
]; then
12 echo "NO VentoyPlugson.exe found"
16 if [ -f .
/www.
tar.xz
]; then
20 echo -n "$plugson_verion" > .
/www
/buildtime
23 xz
--check=crc32 www.
tar
25 rm -f ..
/INSTALL
/VentoyPlugson.exe
26 cp -a .
/vs
/VentoyPlugson
/Release
/VentoyPlugson.exe ..
/INSTALL
/VentoyPlugson.exe
28 rm -f ..
/INSTALL
/tool
/plugson.
tar.xz
29 mv .
/www.
tar.xz ..
/INSTALL
/tool
/plugson.
tar.xz
32 echo "========= SUCCESS ==========="