feat: update Arch installation steps in README and automated installation script to use package from extra repo

This commit is contained in:
nekename committed 2026-10-04 12:40:51 +01:00
1 parent 592547468f
commit aaa41a5514
2 files changed
+6 -22

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ Special thanks go to the developers of [Tauri](https://github.com/tauri-apps/tau
- Download the latest release from [GitHub Releases](https://github.com/nekename/OpenDeck/releases/latest).
- You should avoid AppImage releases of OpenDeck as they tend to have problems (you should also just avoid AppImages in general).
- For users of Arch-based distributions, there are the `opendeck` and `opendeck-bin` AUR packages for the latest release, as well as the `opendeck-git` AUR package for the latest commit on the `main` branch of this repository.
- For users of Arch-based distributions, there is the `opendeck` package in the `extra` repo for the latest release, as well as the `opendeck-git` AUR package for the latest commit on the `main` branch of this repository.
- Install OpenDeck using your package manager of choice.
- Install the appropriate udev subsystem rules from [here](https://raw.githubusercontent.com/OpenActionAPI/rust-elgato-streamdeck/main/40-streamdeck.rules):
- If you're using a `.deb` or `.rpm` release artifact, this file should be installed automatically.
+5 -21
View File
@@ -196,26 +196,10 @@ install_rpm() {
reload_udev_rules
}
install_aur() {
msg_info "Installing from AUR"
msg_info "${BOLD}This script will attempt to use yay, paru, aura, pikaur, or trizen, in that order"
confirm "If you use another AUR helper, you should install OpenDeck manually. Continue?"
if has_cmd yay; then
tty_stdin yay -Sy opendeck
elif has_cmd paru; then
tty_stdin paru -Sy opendeck
elif has_cmd aura; then
tty_stdin aura -Ak opendeck
elif has_cmd pikaur; then
tty_stdin pikaur -Sy opendeck
elif has_cmd trizen; then
tty_stdin trizen -Sy opendeck
else
msg_error "No AUR helper found; install yay, paru, aura, pikaur, or trizen, or install manually"
return 1
fi
msg_ok "Installed from AUR"
install_arch() {
msg_info "Installing from Arch repositories"
tty_stdin sudo pacman -Sy opendeck
msg_ok "Installed from Arch repositories"
reload_udev_rules
}
@@ -319,7 +303,7 @@ rpm)
install_rpm
;;
arch)
install_aur
install_arch
;;
ublue)
install_flatpak