sunshine.sh 528 Bytes
Newer Older
Maxim Slipenko's avatar
Maxim Slipenko committed
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

PKGNAME=sunshine
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Self-hosted game stream host for Moonlight"
URL="https://app.lizardbyte.dev/Sunshine"

. $(dirname $0)/common.sh

11
PKGURL=$(get_github_url "https://github.com/LizardByte/Sunshine/" "sunshine-fedora-.*-amd64.rpm")
Maxim Slipenko's avatar
Maxim Slipenko committed
12 13

install_pkgurl
14 15 16 17 18 19 20

cat <<EOF

Note: run
# setcap cap_sys_admin+p $(readlink -f $(command -v sunshine))
to enable permissions for KMS capture (Capture of most Wayland-based desktop environments will fail unless this step is performed.)
EOF