chaotic-aur / packages

The packages Mason, what do they mean? (Package requests and bug reports here) 📑
https://aur.chaotic.cx
317 stars 20 forks source link

[Bug] PCSX2-git arguments not being passed through #3207

Closed SeongGino closed 2 days ago

SeongGino commented 2 days ago

Packages:

https://aur.archlinux.org/packages/pcsx2-git

Latest chaotic version

1.7.5941.r0.g56f32ff

What happens?

Launch arguments (e.g. -help, -nogui, or anything else) aren't being passed through to /opt/pcsx2/pcsx2-qt at all, and is launched as if no args were present.

What is expected to happen?

Command line arguments should be respected and react accordingly.

Logs

No response

More information

The issue seems to be in the /usr/bin/pcsx2 wrapper:

#!/usr/bin/env sh
exec /opt/pcsx2/pcsx2-qt ""

Adding $@ inside the quotations resolves this problem (and is what the original AUR attached script runner does).

xiota commented 2 days ago

chaotic-aur/pcsx2-git is built from aur/pcsx2-avx-git. There was a typo that has been fixed.

(Reason for using a different PKGBUILD was to resolve some dependency issues.)