mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-05 01:04:20 -04:00
Optimization for LiveCDGUI
This commit is contained in:
parent
e208199cca
commit
5a591c1ae7
6 changed files with 43 additions and 1 deletions
|
@ -9,6 +9,21 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue