mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-27 18:31:35 +00:00
* Added remote play clients - Fixed bug that deleted cloud scripts when pressing "cancel" - Updated cloud scripts to reflect changes - Added steam controller template "EmuDeck - Cloud" - Updated readme Note: beta testers will need to delete their cloud.conf, run the cloudServicesManager and update their cloud services. * Minor fixes * Added remote play clients - Fixed bug that deleted cloud scripts when pressing "cancel" - Updated cloud scripts to reflect changes - Added steam controller template "EmuDeck - Cloud" - Updated readme Note: beta testers will need to delete their cloud.conf, run the cloudServicesManager and update their cloud services.
20 lines
765 B
Bash
20 lines
765 B
Bash
#!/bin/bash
|
|
installEmuFP(){
|
|
|
|
local name="$1"
|
|
local ID="$2"
|
|
|
|
setMSG "Installing $name"
|
|
|
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user
|
|
flatpak install flathub "$ID" -y --system
|
|
flatpak override "$ID" --filesystem=host --user
|
|
flatpak override "$ID" --share=network --user
|
|
|
|
shName=$(echo "$name" | awk '{print tolower($0)}')
|
|
|
|
find "${toolsPath}/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r f; do echo "deleting old: $f"; rm -f "$f"; done;
|
|
find "${EMUDECKGIT}/tools/launchers/" -type f -iname "$shName.sh" -o -type f -iname "$shName-emu.sh" | while read -r l; do echo "deploying new: $l"; chmod +x "$l"; cp -v "$l" "${toolsPath}/launchers/"; done;
|
|
|
|
}
|