You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
562 B
Bash
23 lines
562 B
Bash
#!/bin/bash
|
|
|
|
export PYGAME_HIDE_SUPPORT_PROMPT=1
|
|
export DOLPHIN_CONFIG_DIR=/home/kuba/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu
|
|
|
|
KAZZITE_DIR=/home/kuba/kazzite
|
|
|
|
SCRIPTS_DIR=$KAZZITE_DIR/dolphin-presets/presets
|
|
|
|
PICKED_SCRIPT=$($KAZZITE_DIR/gamepad-utils/script-selector.py --scripts "$SCRIPTS_DIR")
|
|
|
|
echo PICKED!!!!!!!!!!! $PICKED_SCRIPT
|
|
|
|
mapfile -t EXTRA_ARGS < <("$PICKED_SCRIPT")
|
|
|
|
/usr/bin/flatpak run \
|
|
--branch=stable \
|
|
--arch=x86_64 \
|
|
--command=/app/bin/dolphin-emu-wrapper \
|
|
org.DolphinEmu.dolphin-emu \
|
|
"${EXTRA_ARGS[@]}" \
|
|
"$@"
|