Skip to content

Commit

Permalink
Phase 2: Bottles
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Sep 19, 2024
1 parent 8551326 commit 588123d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tabs/applications-setup/bottles-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
. ../common-script.sh

install_bottles() {
printf "%b\n" "${YELLOW}Installing Bottles...${RC}"
. ./setup-flatpak.sh
flatpak install -y flathub com.usebottles.bottles
printf "%b\n" "${GREEN}Bottles installed successfully. Restart the system to apply changes...${RC}"
printf "%b" "${YELLOW}Do you want to install Bottles? (Y/n): ${RC}"
read -r install_choice
if [ "$install_choice" != "n" ] && [ "$install_choice" != "N" ]; then
printf "%b\n" "${YELLOW}Installing Bottles...${RC}"
. ./setup-flatpak.sh
flatpak install -y flathub com.usebottles.bottles
printf "%b\n" "${GREEN}Bottles installed successfully.${RC}"
else
printf "%b\n" "${GREEN}Skipping Bottles installation.${RC}"
fi
}

checkEnv
Expand Down

0 comments on commit 588123d

Please sign in to comment.