diff --git a/bin/omakub-sub/install.sh b/bin/omakub-sub/install.sh index 15ef5ff..f5958a9 100644 --- a/bin/omakub-sub/install.sh +++ b/bin/omakub-sub/install.sh @@ -10,7 +10,7 @@ CHOICES=( "Mainline Kernels Install newer Linux kernels than Ubuntu defaults" "OBS Studio Record screencasts with inputs from both display + webcam" "Ollama Run LLMs, like Meta's Llama3, locally" - "Retroarch Play retro games [Incompatible w/ 25.04]" + "Retroarch Play retro games" "Spotify Stream music from the world's most popular service" "Steam Play games from Valve's store" "VirtualBox Virtual machines to run Windows/Linux" diff --git a/install.sh b/install.sh index 6d51d7b..d49e3f3 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,9 @@ # Exit immediately if a command exits with a non-zero status set -e +# Give people a chance to retry running the installation +trap 'echo "Omakub installation failed! You can retry by running: source ~/.local/share/omakub/install.sh"' ERR + # Check the distribution name and version and abort if incompatible source ~/.local/share/omakub/install/check-version.sh diff --git a/install/desktop/optional/app-retroarch.sh b/install/desktop/optional/app-retroarch.sh index abe7743..ae6853b 100644 --- a/install/desktop/optional/app-retroarch.sh +++ b/install/desktop/optional/app-retroarch.sh @@ -1,14 +1 @@ -sudo add-apt-repository -y ppa:libretro/stable -sudo apt update -y -sudo apt install -y retroarch retroarch-assets - -cat <~/.local/share/applications/Retroarch.desktop -[Desktop Entry] -Name=RetroArch -Exec=/usr/bin/retroarch -Type=Application -Icon=/home/$USER/.local/share/omakub/applications/icons/Retroarch.png -Comment=Play retro games -Categories=Game;Emulator; -Terminal=false -EOF +flatpak install -y flathub org.libretro.RetroArch diff --git a/uninstall/app-retroarch.sh b/uninstall/app-retroarch.sh index c94e40c..956f46e 100644 --- a/uninstall/app-retroarch.sh +++ b/uninstall/app-retroarch.sh @@ -1,5 +1 @@ -sudo add-apt-repository -y --remove ppa:libretro/stable -sudo apt update -y -sudo apt remove -y retroarch retroarch-assets -sudo apt autoremove -y -rm ~/.local/share/applications/Retroarch.desktop +flatpak uninstall -y flathub org.libretro.RetroArch diff --git a/version b/version index 6085e94..23aa839 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.2.1 +1.2.2