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
54 lines
1.2 KiB
Bash
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/"
|
|
}
|