diff --git a/README.md b/README.md index b774721..3dc72de 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ ### the flathub arcade — for hyprwave +🖥️ Part of the **[Hyprwave](https://github.com/neon798/hyprwave)** desktop · alongside [Neonwolf](https://github.com/neon798/neonwolf) + A **synthwave / 8-bit-arcade terminal UI** for discovering apps on [Flathub](https://flathub.org) and managing your Flatpaks — without leaving the terminal. Built in Rust with [ratatui](https://ratatui.rs) and themed to match the @@ -116,10 +118,21 @@ cargo run -- --shot-svg # regenerate the screenshots in screenshots/ ## Enabling installs -FlatArcade browses fine without flatpak, but installing needs it set up: +FlatArcade browses fine without flatpak, but installing needs it set up. First install +flatpak for your distro (atomic Fedora / Universal Blue ships it preinstalled — skip this): ```sh +# Fedora / RHEL +sudo dnf install flatpak +# Debian / Ubuntu +sudo apt install flatpak +# Arch sudo pacman -S flatpak +``` + +Then add the Flathub remote (same on every distro): + +```sh flatpak remote-add --if-not-exists flathub \ https://flathub.org/repo/flathub.flatpakrepo ``` diff --git a/install.sh b/install.sh index aeb7fd2..0b6720d 100755 --- a/install.sh +++ b/install.sh @@ -92,6 +92,10 @@ ensure_path printf "\n%sSTAGE CLEAR!%s FlatArcade is installed.\n" "$cyan" "$off" printf " %s• Launch it from your app menu, or run:%s flatarcade\n" "$dim" "$off" -printf " %s• To install apps you also need flatpak:%s\n" "$dim" "$off" -printf " %ssudo pacman -S flatpak%s\n" "$yellow" "$off" +printf " %s• To install apps you also need flatpak. Atomic Fedora / Universal Blue%s\n" "$dim" "$off" +printf " %s ships it preinstalled; otherwise grab it for your distro:%s\n" "$dim" "$off" +printf " %ssudo dnf install flatpak%s %s# Fedora / RHEL%s\n" "$yellow" "$off" "$dim" "$off" +printf " %ssudo apt install flatpak%s %s# Debian / Ubuntu%s\n" "$yellow" "$off" "$dim" "$off" +printf " %ssudo pacman -S flatpak%s %s# Arch%s\n" "$yellow" "$off" "$dim" "$off" +printf " %s then add the Flathub remote (same everywhere):%s\n" "$dim" "$off" printf " %sflatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo%s\n" "$yellow" "$off"