mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-30 19:52:54 +00:00
49 lines
949 B
Bash
49 lines
949 B
Bash
#!/bin/bash
|
|
|
|
# Variables
|
|
Heroic_emuName="Heroic-Games-Launcher"
|
|
Heroic_emuType="$emuDeckEmuTypeAppImage"
|
|
Heroic_emuPath="$HOME/Applications/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"
|
|
}
|