EmuDeck/functions/RemotePlayClientScripts/remotePlayGreenlight.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

57 lines
1.4 KiB
Bash

#!/bin/bash
# Variables
Greenlight_emuName="Greenlight"
Greenlight_emuType="$emuDeckEmuTypeAppImage"
Greenlight_emuPath="$emusFolder/Greenlight.AppImage"
# Install
Greenlight_install() {
echo "Begin Greenlight Install"
local showProgress="$1"
installEmuAI "$Greenlight_emuName" "" "$(getReleaseURLGH "unknownskl/greenlight" ".AppImage")" "" "" "remoteplay" "$showProgress"
}
# 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" "$emudeckBackend/configs/Greenlight/.config/greenlight"
# Greenlight_addSteamInputProfile
}
# Uninstall
Greenlight_uninstall() {
setMSG "Uninstalling $Greenlight_emuName."
uninstallEmuAI "$Greenlight_emuName" "" "" "remoteplay"
}
# 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 "$emudeckBackend/configs/steam-input/emudeck_Greenlight_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}