[dual-boot] Prevent pauses

This commit is contained in:
Luke Short 2025-05-08 22:58:47 -06:00
commit 07e1cb697e

View file

@ -2,9 +2,7 @@
set -x
kdialog --title "winesapOS Dual-Boot Installer (Beta)"
kdialog --title "winesapOS Dual-Boot Installer (Beta)" --msgbox "Please read the full instructions first at: https://github.com/winesapOS/winesapOS?tab=readme-ov-file#dual-boot\nUSE AT YOUR OWN RISK! DATA LOSS IS POSSIBLE. CLOSE THIS WINDOW IF YOU DO NOT ACCEPT THE RISK. OTHERWISE, ENTER ANY KEY TO COTINUE."
read -r -p ""
kdialog --title "winesapOS Dual-Boot Installer (Beta)" --warningyesno "Would you like to continue? this script is in Beta!"
WINESAPOS_IMAGE_TYPE="$(grep VARIANT_ID /usr/lib/os-release-winesapos | cut -d = -f 2)"
@ -110,5 +108,3 @@ sudo chroot /mnt mkinitcpio -P
sudo sync
kdialog --title "winesapOS Dual-Boot Installer (Beta)" --msgbox "INFO: Dual-boot installation complete!"
# Keep the terminal window open so users can review the logs.
sleep infinity