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
49 lines
942 B
Bash
49 lines
942 B
Bash
#!/bin/bash
|
|
|
|
# Variables
|
|
Heroic_emuName="Heroic-Games-Launcher"
|
|
Heroic_emuType="$emuDeckEmuTypeAppImage"
|
|
Heroic_emuPath="$emusFolder/Heroic-Games-Launcher.AppImage"
|
|
|
|
# Install
|
|
Heroic_install() {
|
|
setMSG "Installing $Heroic_emuName."
|
|
|
|
local showProgress=$1
|
|
installEmuAI "$Heroic_emuName" "" "$(getReleaseURLGH "Heroic-Games-Launcher/HeroicGamesLauncher" ".AppImage")" "" "" "genericapplication" "$showProgress"
|
|
}
|
|
|
|
# ApplyInitialSettings
|
|
Heroic_init() {
|
|
echo "NYI"
|
|
}
|
|
|
|
# Update appimage
|
|
Heroic_update() {
|
|
setMSG "Updating $Heroic_emuName settings."
|
|
rm -f "$Heroic_emuPath"
|
|
Heroic_install
|
|
}
|
|
|
|
# Uninstall
|
|
Heroic_uninstall() {
|
|
setMSG "Uninstalling $Heroic_emuName."
|
|
uninstallEmuAI "$Heroic_emuName" "" "" "genericapplication"
|
|
}
|
|
|
|
# Check if installed
|
|
Heroic_IsInstalled() {
|
|
if [ -f "$Heroic_emuPath" ]; then
|
|
echo true
|
|
return 1
|
|
else
|
|
echo false
|
|
return 0
|
|
fi
|
|
}
|
|
|
|
# Import steam profile
|
|
Heroic_addSteamInputProfile() {
|
|
echo "NYI"
|
|
}
|