X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/32c5b5deea14db3f023b8c7ea7edb059a0c0a325..HEAD:/LiveCDGUI/VTOY/autostart diff --git a/LiveCDGUI/VTOY/autostart b/LiveCDGUI/VTOY/autostart index 7a4fbd2..b982892 100644 --- a/LiveCDGUI/VTOY/autostart +++ b/LiveCDGUI/VTOY/autostart @@ -5,9 +5,24 @@ hsetroot -fill /usr/share/wallpapers/wallpaper.png INIFILE=/ventoy/Ventoy2Disk.ini echo "[Ventoy]" >> $INIFILE -echo "Language=Chinese Simplified (简体中文)" >> $INIFILE echo "PartStyle=0" >> $INIFILE echo "ShowAllDevice=0" >> $INIFILE + +VTOOLDIR=/ventoy/tool/x86_64 + +ls -1 $VTOOLDIR/ | grep '\.xz$' | while read line; do + $VTOOLDIR/xzcat $VTOOLDIR/$line > $VTOOLDIR/${line%.xz} + rm -f $VTOOLDIR/$line + chmod +x $VTOOLDIR/${line%.xz} +done + +cp -a $VTOOLDIR/mount.exfat-fuse /bin/mount.exfat +cp -a $VTOOLDIR/mkexfatfs /bin/mkfs.exfat + +/usr/local/sbin/busybox --install /usr/local/sbin/ +tar xf /usr/local/sbin/ntfs-3g.tar.gz -C / + /ventoy/tool/x86_64/Ventoy2Disk.gtk3 --kiosk +reboot -f