rawdatafeel ac2e55efc1 Hotfix/Polish Cloud Services
* Added missing remote play clients to all.sh
    * This allows these clients to properly install
* Fixed install locations for Greenlight and ShadowPC
* Fixed error in cloud.conf
    * Restores https://github.com/dragoonDorise/EmuDeck/pull/941
    * This was not working originally because the cloud.conf file is never updated once it's copied to Emulation/roms/cloud
        * Added a grep command to detect "browercommand" so this cloud.conf can be updated once in order for this PR to work properly
* Added ES-DE and Pegasus optional support
    * Added a prompt so users can select if they would like their services in ES-DE and Pegasus. Copies files to Emulation/roms/desktop
    * Removed cloud and remoteplay from Pegasus so scraping can be shared properly between ES-DE and Pegasus
    * Swapped default desktop system for ES-DE to "Keep ES-DE running"
* Added back firefox support
    * Reverts https://github.com/dragoonDorise/EmuDeck/pull/910
* Added Steam ROM Manager parser for bash and desktop files with proper exclusion for the cloud and remoteplay folders

Co-authored-by: rawdatafeel <108900299+rawdatafeel@users.noreply.github.com>
Co-authored-by: Thomas Crider <11287837+GloriousEggroll@users.noreply.github.com>
2024-06-08 13:55:45 -04:00

59 lines
1.3 KiB
Bash

#!/bin/bash
# Variables
ShadowPC_emuName="ShadowPC"
ShadowPC_emuType="AppImage"
ShadowPC_emuPath="$HOME/Applications/ShadowPC.AppImage"
ShadowPC_releaseURL="https://update.Shadow.tech/launcher/prod/linux/ubuntu_18.04/ShadowPC.AppImage"
# Install
ShadowPC_install() {
setMSG "Installing $ShadowPC_emuName."
local showProgress=$1
#local installShadowPC=$(wget -q $ShadowPC_releaseURL -P $ShadowPC_emuPath)
installEmuAI "ShadowPC" $ShadowPC_releaseURL "" "" "$showProgress"
cp "$EMUDECKGIT/tools/remoteplayclients/ShadowPC.sh" "$romsPath/remoteplay"
chmod +x "$romsPath/remoteplay/ShadowPC.sh"
}
# ApplyInitialSettings
ShadowPC_init() {
echo "NYI"
#setMSG "Initializing $ShadowPC_emuName settings."
#$ShadowPC_addSteamInputProfile
}
# Update appimage
ShadowPC_update() {
setMSG "Updating $ShadowPC_emuName settings."
rm -f "$ShadowPC_emuPath"
ShadowPC_install
}
# Uninstall
ShadowPC_uninstall() {
setMSG "Uninstalling $ShadowPC_emuName."
rm -f "$ShadowPC_emuPath"
rm -f "$romsPath/remoteplay/ShadowPC.sh"
}
# Check if installed
ShadowPC_IsInstalled() {
if [ -f "$ShadowPC_emuPath" ]; then
echo true
return 1
else
echo false
return 0
fi
}
# Import steam profile
ShadowPC_addSteamInputProfile() {
echo "NYI"
#rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_ShadowPC_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}