Untitled

Format: Makefile
 ( View Raw)
Date: Thu, 12 Jan 2023 at 01:51:59

#!/bin/bash

# when the program is called from a non X environment, handle the mouse
# maybe an other choice is better

if test -z "${DISPLAY}"
then
    export DISPLAY=:0.0
fi

XDG_CONFIG_HOME=/userdata/system/configs \
    XDG_DATA_HOME=/userdata/saves \
    QT_QPA_PLATFORM=xcb \
    /usr/bin/dolphin-emu && exit 0

# fall back to nogui
XDG_CONFIG_HOME=/userdata/system/configs \
    XDG_DATA_HOME=/userdata/saves \
    QT_QPA_PLATFORM=xcb \
    /usr/bin/dolphin-emu-nogui --platform=drm