EmuDeck/functions/ToolScripts/emuDeckRemotePlayWhatever.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

17 lines
1.1 KiB
Bash

#!/bin/bash
RemotePlayWhatever_install(){
mkdir -p "${toolsPath}/remoteplaywhatever"
installEmuAI "RemotePlayWhatever" "$(getReleaseURLGH "m4dEngi/RemotePlayWhatever" "AppImage")"
RemotePlayWhatever_init
}
RemotePlayWhatever_init(){
setMSG "Configuring RemotePlayWhatever"
cp "$emudeckBackend/tools/remoteplaywhatever/remoteplaywhatever.sh" "${toolsPath}/remoteplaywhatever/"
chmod +x "${toolsPath}/remoteplaywhatever/remoteplaywhatever.sh"
echo -e "OK!"
zenity --question --width 450 --title "Close Steam/Steam Input?" --text "Now we will exit steam and launch Steam ROM Manager so you can add RemotePlayWhatever. Desktop controls will temporarily revert to touch/trackpad/L2/R2 until you open Steam again." && (kill -15 $(pidof steam)) & cp $emudeckBackend/configs/steam-rom-manager/userData/userConfigurationsRPW.json $HOME/.config/steam-rom-manager/userData/userConfigurations.json && ${toolsPath}/Steam ROM Manager.AppImage && cp $emudeckBackend/configs/steam-rom-manager/userData/userConfigurations.json $HOME/.config/steam-rom-manager/userData/userConfigurations.json
}