added bottles install script (#492)

* added bottles install script

* Update tabs/applications-setup/bottles-setup.sh

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>

* Update tab_data.toml

* Update tab_data.toml

---------

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
This commit is contained in:
Guru Swarupa 2024-09-19 22:50:05 +05:30 committed by GitHub
parent 5dbb440d10
commit 381155dad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/bin/sh -e
. ../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}"
}
checkEnv
checkEscalationTool
install_bottles2

View File

@ -40,6 +40,10 @@ name = "Flatpak / Flathub"
description = "Flatpak is a universal application sandbox for Linux that uses isolated packages from Flathub to prevent conflicts and system alterations, while alleviating dependency concerns.\nThis command installs Flatpak and adds the Flathub repository"
script = "setup-flatpak.sh"
[[data]]
name = "Bottles setup"
script = "bottles-setup.sh"
[[data]]
name = "ZSH Prompt"
description = "The Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh.\nThis command installs ZSH prompt and provides basic configuration."