Bottles
Bottles copied to clipboard
[Bug]: gamescope wrapper script swallows command arguments
Describe the bug
When using gamescope and command arguments, the arguments are not getting passed through to the application.
What happens is that the generated wrapper script is called with the arguments (e.g. sh /tmp/tmps7_xrc12.sh float.cfg), but the generated script itself does not pass these arguments on to the application, e.g. my script looks like this:
#!/usr/bin/env sh
/home/gd2/.var/app/com.usebottles.bottles/data/bottles/runners/soda-7.0-9/bin/wine start /wait 'C:\TONE\thing1\float.exe'
I suppose there should be an $@ or something similar in the generated script?
To Reproduce
- Install some application that reacts to arguments.
- Enable gamescope for it and configure some custom arguments.
- Observe the actual executable not being launched without arguments.
Package
Flatpak from Flathub
Distribution
Arch Linux
Debugging Information
Official Package: true
Version: '51.9'
DE/WM: sway
Display:
X.org: true
X.org (port): :0
Wayland: true
Graphics:
vendors:
amd:
vendor: amd
envs:
DRI_PRIME: '1'
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
prime:
integrated: null
discrete: null
Kernel:
Type: Linux
Version: 6.6.7-arch1-1
Disk:
Total: 16176259072
Free: 16176107520
RAM:
MemTotal: 30.1GiB
MemAvailable: 27.0GiB
Bottles_envs: null
Troubleshooting Logs
No response
Additional context
No response