EmuDeck/android/functions/EmuScripts/Android_Lime3DS.sh
Dragoon Dorise 00a8f1c19c
New paths (#1381)
* new paths

* /

* EmuDeck/

* mv

* no &

* ESDE new location

* ESDE new path

* no symlink load

* bigpemu new path

* force move

* global vars

* oopsie

* missing $emudeckBackend

* better migration detection

* Keep Appimages in Applications

* Keep Appimages in Applications
2025-01-02 13:42:31 +01:00

26 lines
686 B
Bash

#!/bin/bash
function Android_Lime3DS_install(){
setMSG "Installing Citra"
temp_url="$(getLatestReleaseURLGH "Lime3DS/lime3ds-archive" ".apk")"
temp_emu="citra"
Android_ADB_dl_installAPK $temp_emu $temp_url
}
function Android_Lime3DS_init(){
setMSG "Setting up Citra"
rsync -ra "$emudeckBackend/android/configs/citra-emu/" "$Android_temp_internal/citra-emu/"
}
function Android_Lime3DS_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_Lime3DS_IsInstalled(){
package="org.citra.emu"
Android_ADB_appInstalled $package
}