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:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user