#!/bin/bash

# archypr:summary=Install Moonlight (NVIDIA GameStream / Sunshine client) for streaming games to this PC.
# archypr:requires-sudo=true

set -e

echo "Installing Moonlight..."
archypr-kg-add moonlight-qt

setsid gtk-launch com.moonlight_stream.Moonlight.desktop >/dev/null 2>&1 &
