Skip to content

Commit

Permalink
added bottles install script (#492)
Browse files Browse the repository at this point in the history
* added bottles install script

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

Co-authored-by: Liam <[email protected]>

* Update tab_data.toml

* Update tab_data.toml

---------

Co-authored-by: Liam <[email protected]>
  • Loading branch information
guruswarupa and lj3954 authored Sep 19, 2024
1 parent 5dbb440 commit 381155d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tabs/applications-setup/bottles-setup.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions tabs/applications-setup/tab_data.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 381155d

Please sign in to comment.