Fix Arch gaming dependency install on PipeWire JACK systems (#1260)

* Fix Arch gaming dependencies JACK provider conflict

* Fix existing cargo clippy failures
This commit is contained in:
Abs
2026-05-05 21:43:29 +03:00
committed by GitHub
parent f4ef6a0430
commit 9eabc12212
5 changed files with 18 additions and 17 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ mod tests {
let config = Config::read_config(&config_path, &tab_list);
assert_eq!(config.auto_execute_commands.len(), 1);
assert_eq!(config.skip_confirmation, true);
assert_eq!(config.size_bypass, false);
assert!(config.skip_confirmation);
assert!(!config.size_bypass);
drop(temp_dir);
}
+6
View File
@@ -39,6 +39,12 @@ installDepend() {
libxslt lib32-libxslt cups samba lib32-mesa vulkan-radeon lib32-vulkan-radeon \
gamescope mangohud lib32-mangohud gamemode lib32-gamemode"
if "$PACKAGER" -Qq pipewire-jack >/dev/null 2>&1; then
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm lib32-pipewire-jack
elif "$PACKAGER" -Qq jack2 >/dev/null 2>&1; then
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm lib32-jack2
fi
$AUR_HELPER -S --needed --noconfirm $DEPENDENCIES $DISTRO_DEPS
;;
apt-get | nala)