Files
arthur-os/bin/omarchy-install-gaming-geforce-now
T

19 lines
461 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Install and launch Geforce Now.
set -e
echo "Installing GeForce NOW..."
omarchy-pkg-add flatpak
cd /tmp
# Download and run GeForce NOW
curl -LO https://international.download.nvidia.com/GFNLinux/GeForceNOWSetup.bin
chmod +x GeForceNOWSetup.bin
./GeForceNOWSetup.bin
# Ensure a separate browser process not started by GFN is available.
# If not, it seems like GFN has a tendency to hang on login.
setsid omarchy-launch-browser