Use yad way again for selection the installer

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2024-05-09 20:29:46 +02:00
1 parent 9cf49a5687
commit 53058f0dac
2 files changed
+9 -58

No files matched your search

@@ -51,7 +51,8 @@ Main() {
--button="Grub:2" \
--button="Systemd-boot:3" \
--button="Refind:4" \
--text "Choose Bootloader:" ; echo $?)
--button="AI SDK (NVIDIA):5" \
--text "Choose Bootloader/Edition:" ; echo $?)
else
SYSTEM="BIOS/MBR SYSTEM"
fi
@@ -76,6 +77,13 @@ Main() {
yes | sudo pacman -R cachyos-calamares-qt6-next-grub
yes | sudo pacman -R cachyos-calamares-qt6-next-systemd
yes | sudo pacman -Sy cachyos-calamares-qt6-next-refind
elif [[ "${_exitcode}" -eq 5 ]]; then
BOOTLOADER="REFIND"
echo "USING REFIND!"
yes | sudo pacman -R cachyos-calamares-qt6-next-grub
yes | sudo pacman -R cachyos-calamares-qt6-next-systemd
yes | sudo pacman -R cachyos-calamares-qt6-next-refind
yes | sudo pacman -Sy cachyos-calamares-qt6-next-ai
else
exit
fi