#!/bin/bash -e report_error() { read -r -d '|' MESSAGE <https://github.com/flathub/org.yuzu_emu.yuzu/issues. When submitting a bug report, please attach your system information and the yuzu log file. You seem to be using ${XDG_SESSION_DESKTOP} ${DESKTOP_SESSION} (${XDG_SESSION_TYPE}): To obtain yuzu log files, please see this guide. To obtain your system information, please install inxi and run inxi -v3. | EOF zenity --warning --no-wrap --title "That's awkward ..." --text "$MESSAGE" } if ! prlimit --nofile=8192 yuzu "$@"; then report_error fi