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

54 lines
1.2 KiB
Bash

#!/bin/bash
# Variables
ShadowPC_emuName="ShadowPC"
ShadowPC_emuType="$emuDeckEmuTypeAppImage"
ShadowPC_emuPath="$emusFolder/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_emuName" "" $ShadowPC_releaseURL "" "" "remoteplay" "$showProgress"
}
# 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."
uninstallEmuAI "$ShadowPC_emuName" "" "" "remoteplay"
}
# 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 "$emudeckBackend/configs/steam-input/emudeck_ShadowPC_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
}