mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-27 18:31:35 +00:00
* 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>
61 lines
1.5 KiB
Bash
61 lines
1.5 KiB
Bash
#!/bin/bash
|
|
|
|
# Variables
|
|
Greenlight_emuName="Greenlight"
|
|
Greenlight_emuType="$emuDeckEmuTypeAppImage"
|
|
Greenlight_emuPath="$HOME/Applications/Greenlight.AppImage"
|
|
|
|
|
|
# Install
|
|
Greenlight_install() {
|
|
echo "Begin Greenlight Install"
|
|
|
|
local showProgress="$1"
|
|
installEmuAI "Greenlight" "$(getReleaseURLGH "unknownskl/greenlight" ".AppImage")" "" "$showProgress"
|
|
|
|
cp "$EMUDECKGIT/tools/remoteplayclients/Greenlight.sh" "$romsPath/remoteplay"
|
|
chmod +x "$romsPath/remoteplay/Greenlight.sh"
|
|
|
|
}
|
|
|
|
# ApplyInitialSettings
|
|
Greenlight_init() {
|
|
echo "NYI"
|
|
# setMSG "Initializing $Greenlight_emuName settings."
|
|
# configEmuFP "$Greenlight_emuName" "$Greenlight_emuPath" "true"
|
|
# $Greenlight_addSteamInputProfile
|
|
}
|
|
|
|
# Update appimage by reinstalling
|
|
Greenlight_update() {
|
|
setMSG "Updating $Greenlight_emuName."
|
|
rm -f "$Greenlight_emuPath"
|
|
Greenlight_install
|
|
# configEmuAI "$Greenlight_emuName" "config" "$HOME/.config/greenlilght" "$EMUDECKGIT/configs/Greenlight/.config/greenlight"
|
|
# Greenlight_addSteamInputProfile
|
|
}
|
|
|
|
# Uninstall
|
|
Greenlight_uninstall() {
|
|
setMSG "Uninstalling $Greenlight_emuName."
|
|
rm -f "$Greenlight_emuPath"
|
|
rm "$romsPath/remoteplay/Greenlight.sh"
|
|
}
|
|
|
|
# Check if installed
|
|
Greenlight_IsInstalled() {
|
|
if [ -f "$Greenlight_emuPath" ]; then
|
|
echo true
|
|
return 1
|
|
else
|
|
echo false
|
|
return 0
|
|
fi
|
|
}
|
|
|
|
# Import steam profile
|
|
Greenlight_addSteamInputProfile() {
|
|
echo "NYI"
|
|
# rsync -r "$EMUDECKGIT/configs/steam-input/emudeck_Greenlight_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
|
}
|