mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 08:21:14 +00:00
update
This commit is contained in:
@@ -23,6 +23,9 @@ while [ -n "$1" ]; do
|
||||
elif [ "$1" = "-l" ]; then
|
||||
shift
|
||||
label=$1
|
||||
elif [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||
print_usage
|
||||
exit 0
|
||||
else
|
||||
print_usage
|
||||
exit 1
|
||||
|
@@ -1,11 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f ./ventoy/version ]; then
|
||||
curver=$(cat ./ventoy/version)
|
||||
fi
|
||||
|
||||
echo ''
|
||||
echo '***********************************************************'
|
||||
echo '* Ventoy2Disk Script *'
|
||||
echo '* longpanda admin@ventoy.net *'
|
||||
echo '***********************************************************'
|
||||
echo '**********************************************'
|
||||
echo " Ventoy: $curver"
|
||||
echo " longpanda admin@ventoy.net"
|
||||
echo " https://www.ventoy.net"
|
||||
echo '**********************************************'
|
||||
echo ''
|
||||
|
||||
OLDDIR=$PWD
|
||||
|
@@ -813,7 +813,7 @@ function ventoy_iso_busybox_ver {
|
||||
|
||||
#special process for deepin-live iso
|
||||
if [ "$vt_chosen_size" = "403701760" ]; then
|
||||
if vt_str_begin $vt_chosen_path "/deepin-live"; then
|
||||
if vt_str_str $vt_chosen_path "/deepin-live"; then
|
||||
set ventoy_busybox_ver=64
|
||||
fi
|
||||
elif vt_str_begin $vt_volume_id "PHOTON_"; then
|
||||
|
@@ -127,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
|
||||
|
Reference in New Issue
Block a user