EmuDeck/android/functions/EmuScripts/Android_PPSSPP.sh
2024-09-26 12:25:41 +02:00

25 lines
651 B
Bash

#!/bin/bash
function Android_PPSSPP_install(){
setMSG "Installing PPSSPP"
temp_url="https://www.ppsspp.org/files/1_16_6/ppsspp.apk"
temp_emu="ppsspp"
Android_ADB_dl_installAPK $temp_emu $temp_url
}
function Android_PPSSPP_init(){
echo "NYI"
}
function Android_PPSSPP_setup(){
setMSG "PPSSPP"
adb shell pm grant org.ppsspp.ppsspp android.permission.WRITE_EXTERNAL_STORAGE
adb shell am start -n org.ppsspp.ppsspp/.PpssppActivity
zenity --info --width=400 --text="Waiting for user action..."
adb shell am force-stop org.ppsspp.ppsspp
}
function Android_PPSSPP_IsInstalled(){
package="org.ppsspp.ppsspp"
Android_ADB_appInstalled $package
}