Update Bash Scripts/Install_Programs.sh

This commit is contained in:
2026-07-02 23:56:33 +00:00
parent 706d424e79
commit 35f0ec43d6
+48 -2
View File
@@ -172,6 +172,52 @@ install_joplin () {
echo
}
install_flatseal () {
PACKAGE="Flatseal"
printf "Install %s? [y/N]: " "$PACKAGE"
read answer
case "$answer" in
y|Y)
echo "Installing $PACKAGE..."
if ! command -v flatpak >/dev/null 2>&1; then
echo "Flatpak not found, installing..."
sudo apt install -y flatpak
fi
if ! flatpak remote-list | grep -q flathub; then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
fi
flatpak install -y flathub com.github.tchx84.Flatseal
;;
*)
echo "Skipping $PACKAGE"
;;
esac
echo
}
install_stremio () {
PACKAGE="Stremio"
printf "Install %s? [y/N]: " "$PACKAGE"
read answer
case "$answer" in
y|Y)
echo "Installing $PACKAGE..."
if ! command -v flatpak >/dev/null 2>&1; then
echo "Flatpak not found, installing..."
sudo apt install -y flatpak
fi
if ! flatpak remote-list | grep -q flathub; then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
fi
flatpak install -y flathub com.stremio.Stremio
;;
*)
echo "Skipping $PACKAGE"
;;
esac
echo
}
echo "Updating package list..."
sudo apt update
echo
@@ -198,8 +244,8 @@ install_angry_ip_scanner
install_onlyoffice
install_sublime
install_joplin
#"Flatseal" "Install via Flatpak: flatpak install flathub com.github.tchx84.Flatseal"
#"Stremio" "Download from https://www.stremio.com"
install_flatseal
install_stremio
#"Visual Studio Code" "Requires Microsoft APT repo"
echo "Finished."