mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-07 16:52:47 +00:00
25 lines
682 B
Bash
25 lines
682 B
Bash
#!/bin/bash
|
|
|
|
function Android_Citra_install(){
|
|
setMSG "Installing Citra"
|
|
temp_url="$(getLatestReleaseURLGH "weihuoya/citra" ".apk")"
|
|
temp_emu="citra"
|
|
Android_ADB_dl_installAPK $temp_emu $temp_url
|
|
}
|
|
|
|
function Android_Citra_init(){
|
|
setMSG "Setting up Citra"
|
|
rsync -ra "$HOME/.config/EmuDeck/backend/android/configs/citra-emu/" "$Android_temp_internal/citra-emu/"
|
|
}
|
|
|
|
function Android_Citra_setup(){
|
|
adb shell pm grant org.citra.emu android.permission.WRITE_EXTERNAL_STORAGE
|
|
adb shell am start -n org.citra.emu/.ui.MainActivity
|
|
sleep 1
|
|
adb shell am force-stop org.citra.emu
|
|
}
|
|
|
|
function Android_Citra_IsInstalled(){
|
|
package="org.citra.emu"
|
|
Android_ADB_appInstalled $package
|
|
} |