fix(packaging/Linux): ensure that uhid is loaded automatically (#2906)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
parent
6de97fdc18
commit
fd96aa0b36
10 changed files with 40 additions and 22 deletions
2
src_assets/linux/misc/60-sunshine.conf
Normal file
2
src_assets/linux/misc/60-sunshine.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Sunshine needs uhid for DS5 emulation
|
||||
uhid
|
||||
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Load uhid (DS5 emulation)
|
||||
echo "Loading uhid kernel module for DS5 emulation."
|
||||
modprobe uhid
|
||||
|
||||
# Check if we're in an rpm-ostree environment
|
||||
if [ ! -x "$(command -v rpm-ostree)" ]; then
|
||||
echo "Not in an rpm-ostree environment, proceeding with post install steps."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue