#!/usr/bin/env bash run_with_optional_gamemode() { if command -v gamemoderun &> /dev/null; then gamemoderun "$@" else "$@" fi }