mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-06-02 19:47:51 -04:00
16 lines
458 B
Bash
Executable file
16 lines
458 B
Bash
Executable file
#!/bin/sh
|
|
source $HOME/.config/EmuDeck/backend/functions/all.sh
|
|
emulatorInit "Vita3k"
|
|
export LC_ALL="C"
|
|
|
|
emuName="Vita3K" #parameterize me
|
|
emufolder="$HOME/Applications/Vita3K" # has to be applications for ES-DE to find it
|
|
|
|
#find full path to emu executable
|
|
exe=$(find "$emufolder" -iname "${emuName}" | sort -n | cut -d' ' -f 2- | tail -n 1 2>/dev/null)
|
|
|
|
#make sure that file is executable
|
|
chmod +x "$exe"
|
|
|
|
eval "${exe} ${param}"
|
|
rm -rf "$savesPath/.gaming" |