mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
* 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
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
#!/bin/bash
|
|
|
|
# Variables
|
|
SteamLink_emuName="SteamLink"
|
|
SteamLink_emuType="$emuDeckEmuTypeFlatpak"
|
|
SteamLink_emuPath="com.valvesoftware.SteamLink"
|
|
SteamLink_releaseURL=""
|
|
|
|
# Install
|
|
SteamLink_install() {
|
|
setMSG "Installing $SteamLink_emuName."
|
|
installEmuFP "${SteamLink_emuName}" "${SteamLink_emuPath}" "remoteplay" ""
|
|
}
|
|
|
|
# ApplyInitialSettings
|
|
SteamLink_init() {
|
|
setMSG "Initializing $SteamLink_emuName settings."
|
|
configEmuFP "$SteamLink_emuName" "$SteamLink_emuPath" "true"
|
|
#SteamLink_addSteamInputProfile
|
|
}
|
|
|
|
# Update flatpak & launcher script
|
|
SteamLink_update() {
|
|
setMSG "Updating $SteamLink_emuName settings."
|
|
updateEmuFP "${SteamLink_emuName}" "${SteamLink_emuPath}" "remoteplay" ""
|
|
}
|
|
|
|
# Uninstall
|
|
SteamLink_uninstall() {
|
|
setMSG "Uninstalling $SteamLink_emuName."
|
|
uninstallEmuFP "$SteamLink_emuName" "$SteamLink_emuPath" "remoteplay" ""
|
|
}
|
|
|
|
# Check if installed
|
|
SteamLink_IsInstalled() {
|
|
if [ "$(flatpak --columns=app list | grep "$SteamLink_emuPath")" == "$SteamLink_emuPath" ]; then
|
|
echo true
|
|
return 1
|
|
else
|
|
echo false
|
|
return 0
|
|
fi
|
|
}
|
|
|
|
# Import steam profile
|
|
SteamLink_addSteamInputProfile() {
|
|
echo "NYI"
|
|
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_steamlink_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
|
}
|