mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
Merge branch 'dev' of https://github.com/dragoonDorise/EmuDeck into dev
This commit is contained in:
commit
56fe955285
@ -1,38 +1,42 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationBottles
|
||||
|
||||
# Variables
|
||||
Bottles_emuName="Bottles"
|
||||
Bottles_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Bottles_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Bottles_emuPath="com.usebottles.bottles"
|
||||
# shellcheck disable=2034
|
||||
Bottles_releaseURL=""
|
||||
|
||||
# Install
|
||||
Bottles_install() {
|
||||
setMSG "Installing $Bottles_emuName."
|
||||
Bottles_install () {
|
||||
setMSG "Installing ${Bottles_emuName}."
|
||||
installEmuFP "${Bottles_emuName}" "${Bottles_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Bottles_init() {
|
||||
setMSG "Initializing $Bottles_emuName settings."
|
||||
configEmuFP "$Bottles_emuName" "$Bottles_emuPath" "true"
|
||||
Bottles_init () {
|
||||
setMSG "Initializing ${Bottles_emuName} settings."
|
||||
configEmuFP "${Bottles_emuName}" "${Bottles_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Bottles_update() {
|
||||
setMSG "Updating $Bottles_emuName settings."
|
||||
Bottles_update () {
|
||||
setMSG "Updating ${Bottles_emuName} settings."
|
||||
updateEmuFP "${Bottles_emuName}" "${Bottles_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Bottles_uninstall() {
|
||||
setMSG "Uninstalling $Bottles_emuName."
|
||||
uninstallEmuFP "$Bottles_emuName" "$Bottles_emuPath" "genericapplication" ""
|
||||
Bottles_uninstall () {
|
||||
setMSG "Uninstalling ${Bottles_emuName}."
|
||||
uninstallEmuFP "${Bottles_emuName}" "${Bottles_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Bottles_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Bottles_emuPath")" == "$Bottles_emuPath" ]; then
|
||||
Bottles_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Bottles_emuPath}")" == "${Bottles_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -42,6 +46,6 @@ Bottles_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Bottles_addSteamInputProfile() {
|
||||
Bottles_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,37 +1,40 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationCider
|
||||
|
||||
# Variables
|
||||
Cider_emuName="Cider"
|
||||
Cider_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Cider_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Cider_emuPath="sh.cider.Cider"
|
||||
|
||||
# Install
|
||||
Cider_install() {
|
||||
setMSG "Installing $Cider_emuName."
|
||||
Cider_install () {
|
||||
setMSG "Installing ${Cider_emuName}."
|
||||
installEmuFP "${Cider_emuName}" "${Cider_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Cider_init() {
|
||||
setMSG "Initializing $Cider_emuName settings."
|
||||
configEmuFP "$Cider_emuName" "$Cider_emuPath" "true"
|
||||
Cider_init () {
|
||||
setMSG "Initializing ${Cider_emuName} settings."
|
||||
configEmuFP "${Cider_emuName}" "${Cider_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Cider_update() {
|
||||
setMSG "Updating $Cider_emuName settings."
|
||||
Cider_update () {
|
||||
setMSG "Updating ${Cider_emuName} settings."
|
||||
updateEmuFP "${Cider_emuName}" "${Cider_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Cider_uninstall() {
|
||||
setMSG "Uninstalling $Cider_emuName."
|
||||
uninstallEmuFP "$Cider_emuName" "$Cider_emuPath" "genericapplication" ""
|
||||
Cider_uninstall () {
|
||||
setMSG "Uninstalling ${Cider_emuName}."
|
||||
uninstallEmuFP "${Cider_emuName}" "${Cider_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Cider_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Cider_emuPath")" == "$Cider_emuPath" ]; then
|
||||
Cider_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Cider_emuPath}")" == "${Cider_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -41,7 +44,7 @@ Cider_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Cider_addSteamInputProfile() {
|
||||
Cider_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_Cider_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,38 +1,42 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationFlatseal
|
||||
|
||||
# Variables
|
||||
Flatseal_emuName="Flatseal"
|
||||
Flatseal_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Flatseal_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Flatseal_emuPath="com.github.tchx84.Flatseal"
|
||||
# shellcheck disable=2034
|
||||
Flatseal_releaseURL=""
|
||||
|
||||
# Install
|
||||
Flatseal_install() {
|
||||
setMSG "Installing $Flatseal_emuName."
|
||||
Flatseal_install () {
|
||||
setMSG "Installing ${Flatseal_emuName}."
|
||||
installEmuFP "${Flatseal_emuName}" "${Flatseal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Flatseal_init() {
|
||||
setMSG "Initializing $Flatseal_emuName settings."
|
||||
configEmuFP "$Flatseal_emuName" "$Flatseal_emuPath" "true"
|
||||
Flatseal_init () {
|
||||
setMSG "Initializing ${Flatseal_emuName} settings."
|
||||
configEmuFP "${Flatseal_emuName}" "${Flatseal_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Flatseal_update() {
|
||||
setMSG "Updating $Flatseal_emuName settings."
|
||||
Flatseal_update () {
|
||||
setMSG "Updating ${Flatseal_emuName} settings."
|
||||
updateEmuFP "${Flatseal_emuName}" "${Flatseal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Flatseal_uninstall() {
|
||||
setMSG "Uninstalling $Flatseal_emuName."
|
||||
uninstallEmuFP "$Flatseal_emuName" "$Flatseal_emuPath" "genericapplication" ""
|
||||
Flatseal_uninstall () {
|
||||
setMSG "Uninstalling ${Flatseal_emuName}."
|
||||
uninstallEmuFP "${Flatseal_emuName}" "${Flatseal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Flatseal_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Flatseal_emuPath")" == "$Flatseal_emuPath" ]; then
|
||||
Flatseal_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Flatseal_emuPath}")" == "${Flatseal_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -42,6 +46,6 @@ Flatseal_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Flatseal_addSteamInputProfile() {
|
||||
Flatseal_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,39 +1,44 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationHeroic
|
||||
|
||||
# Variables
|
||||
Heroic_emuName="Heroic-Games-Launcher"
|
||||
Heroic_emuType="$emuDeckEmuTypeAppImage"
|
||||
Heroic_emuPath="$emusFolder/Heroic-Games-Launcher.AppImage"
|
||||
# shellcheck disable=2034,2154
|
||||
Heroic_emuType="${emuDeckEmuTypeAppImage}"
|
||||
# shellcheck disable=2154
|
||||
Heroic_emuPath="${emusFolder}/Heroic-Games-Launcher.AppImage"
|
||||
|
||||
# Install
|
||||
Heroic_install() {
|
||||
setMSG "Installing $Heroic_emuName."
|
||||
# shellcheck disable=2120
|
||||
Heroic_install () {
|
||||
setMSG "Installing ${Heroic_emuName}."
|
||||
|
||||
local showProgress=$1
|
||||
installEmuAI "$Heroic_emuName" "" "$(getReleaseURLGH "Heroic-Games-Launcher/HeroicGamesLauncher" ".AppImage")" "" "" "genericapplication" "$showProgress"
|
||||
local showProgress="${1}"
|
||||
installEmuAI "${Heroic_emuName}" "" "$( getReleaseURLGH "Heroic-Games-Launcher/HeroicGamesLauncher" ".AppImage" )" "" "" "genericapplication" "${showProgress}"
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Heroic_init() {
|
||||
Heroic_init () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
||||
# Update appimage
|
||||
Heroic_update() {
|
||||
setMSG "Updating $Heroic_emuName settings."
|
||||
rm -f "$Heroic_emuPath"
|
||||
Heroic_update () {
|
||||
setMSG "Updating ${Heroic_emuName} settings."
|
||||
rm -f "${Heroic_emuPath}"
|
||||
Heroic_install
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Heroic_uninstall() {
|
||||
setMSG "Uninstalling $Heroic_emuName."
|
||||
uninstallEmuAI "$Heroic_emuName" "" "" "genericapplication"
|
||||
Heroic_uninstall () {
|
||||
setMSG "Uninstalling ${Heroic_emuName}."
|
||||
uninstallEmuAI "${Heroic_emuName}" "" "" "genericapplication"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Heroic_IsInstalled() {
|
||||
if [ -f "$Heroic_emuPath" ]; then
|
||||
Heroic_IsInstalled () {
|
||||
if [ -f "${Heroic_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -43,6 +48,6 @@ Heroic_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Heroic_addSteamInputProfile() {
|
||||
Heroic_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,37 +1,41 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationLutris
|
||||
|
||||
# Variables
|
||||
Lutris_emuName="Lutris"
|
||||
Lutris_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Lutris_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Lutris_emuPath="net.lutris.Lutris"
|
||||
# shellcheck disable=2034
|
||||
Lutris_releaseURL=""
|
||||
|
||||
# Install
|
||||
Lutris_install() {
|
||||
Lutris_install () {
|
||||
setMSG "Installing $Lutris_emuName."
|
||||
installEmuFP "${Lutris_emuName}" "${Lutris_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Lutris_init() {
|
||||
Lutris_init () {
|
||||
setMSG "Initializing $Lutris_emuName settings."
|
||||
configEmuFP "$Lutris_emuName" "$Lutris_emuPath" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Lutris_update() {
|
||||
Lutris_update () {
|
||||
setMSG "Updating $Lutris_emuName settings."
|
||||
updateEmuFP "${Lutris_emuName}" "${Lutris_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Lutris_uninstall() {
|
||||
Lutris_uninstall () {
|
||||
setMSG "Uninstalling $Lutris_emuName."
|
||||
uninstallEmuFP "$Lutris_emuName" "$Lutris_emuPath" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Lutris_IsInstalled() {
|
||||
Lutris_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "$Lutris_emuPath")" == "$Lutris_emuPath" ]; then
|
||||
echo true
|
||||
return 1
|
||||
@ -42,6 +46,6 @@ Lutris_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Lutris_addSteamInputProfile() {
|
||||
Lutris_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationPlexamp
|
||||
|
||||
# Variables
|
||||
Plexamp_emuName="Plexamp"
|
||||
@ -7,32 +9,32 @@ Plexamp_emuPath="com.plexamp.Plexamp"
|
||||
Plexamp_releaseURL=""
|
||||
|
||||
# Install
|
||||
Plexamp_install() {
|
||||
setMSG "Installing $Plexamp_emuName."
|
||||
Plexamp_install () {
|
||||
setMSG "Installing ${Plexamp_emuName}."
|
||||
installEmuFP "${Plexamp_emuName}" "${Plexamp_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Plexamp_init() {
|
||||
setMSG "Initializing $Plexamp_emuName settings."
|
||||
configEmuFP "$Plexamp_emuName" "$Plexamp_emuPath" "true"
|
||||
Plexamp_init () {
|
||||
setMSG "Initializing ${Plexamp_emuName} settings."
|
||||
configEmuFP "${Plexamp_emuName}" "${Plexamp_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Plexamp_update() {
|
||||
setMSG "Updating $Plexamp_emuName settings."
|
||||
Plexamp_update () {
|
||||
setMSG "Updating ${Plexamp_emuName} settings."
|
||||
updateEmuFP "${Plexamp_emuName}" "${Plexamp_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Plexamp_uninstall() {
|
||||
setMSG "Uninstalling $Plexamp_emuName."
|
||||
uninstallEmuFP "$Plexamp_emuName" "$Plexamp_emuPath" "genericapplication" ""
|
||||
Plexamp_uninstall () {
|
||||
setMSG "Uninstalling ${Plexamp_emuName}."
|
||||
uninstallEmuFP "${Plexamp_emuName}" "${Plexamp_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Plexamp_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Plexamp_emuPath")" == "$Plexamp_emuPath" ]; then
|
||||
Plexamp_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Plexamp_emuPath}")" == "${Plexamp_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -42,6 +44,6 @@ Plexamp_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Plexamp_addSteamInputProfile() {
|
||||
Plexamp_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,39 +1,43 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationSpotify
|
||||
|
||||
# Variables
|
||||
Spotify_emuName="Spotify"
|
||||
Spotify_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Spotify_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Spotify_emuPath="com.spotify.Client"
|
||||
# shellcheck disable=2034
|
||||
Spotify_releaseURL=""
|
||||
|
||||
# Install
|
||||
Spotify_install() {
|
||||
setMSG "Installing $Spotify_emuName."
|
||||
Spotify_install () {
|
||||
setMSG "Installing ${Spotify_emuName}."
|
||||
installEmuFP "${Spotify_emuName}" "${Spotify_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Spotify_init() {
|
||||
setMSG "Initializing $Spotify_emuName settings."
|
||||
configEmuFP "$Spotify_emuName" "$Spotify_emuPath" "true"
|
||||
Spotify_init () {
|
||||
setMSG "Initializing ${Spotify_emuName} settings."
|
||||
configEmuFP "${Spotify_emuName}" "${Spotify_emuPath}" "true"
|
||||
#Spotify_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Spotify_update() {
|
||||
setMSG "Updating $Spotify_emuName settings."
|
||||
Spotify_update () {
|
||||
setMSG "Updating ${Spotify_emuName} settings."
|
||||
updateEmuFP "${Spotify_emuName}" "${Spotify_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Spotify_uninstall() {
|
||||
setMSG "Uninstalling $Spotify_emuName."
|
||||
uninstallEmuFP "$Spotify_emuName" "${Spotify_emuPath}" "genericapplication" ""
|
||||
Spotify_uninstall () {
|
||||
setMSG "Uninstalling ${Spotify_emuName}."
|
||||
uninstallEmuFP "${Spotify_emuName}" "${Spotify_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Spotify_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Spotify_emuPath")" == "$Spotify_emuPath" ]; then
|
||||
Spotify_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Spotify_emuPath}")" == "${Spotify_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -43,7 +47,7 @@ Spotify_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Spotify_addSteamInputProfile() {
|
||||
Spotify_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_spotify_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,38 +1,42 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationTidal
|
||||
|
||||
# Variables
|
||||
Tidal_emuName="Tidal"
|
||||
Tidal_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Tidal_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Tidal_emuPath="com.mastermindzh.tidal-hifi"
|
||||
# shellcheck disable=2034
|
||||
Tidal_releaseURL=""
|
||||
|
||||
# Install
|
||||
Tidal_install() {
|
||||
setMSG "Installing $Tidal_emuName."
|
||||
Tidal_install () {
|
||||
setMSG "Installing ${Tidal_emuName}."
|
||||
installEmuFP "${Tidal_emuName}" "${Tidal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Tidal_init() {
|
||||
setMSG "Initializing $Tidal_emuName settings."
|
||||
configEmuFP "$Tidal_emuName" "$Tidal_emuPath" "true"
|
||||
Tidal_init () {
|
||||
setMSG "Initializing ${Tidal_emuName} settings."
|
||||
configEmuFP "${Tidal_emuName}" "${Tidal_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Tidal_update() {
|
||||
setMSG "Updating $Tidal_emuName settings."
|
||||
Tidal_update () {
|
||||
setMSG "Updating ${Tidal_emuName} settings."
|
||||
updateEmuFP "${Tidal_emuName}" "${Tidal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Tidal_uninstall() {
|
||||
setMSG "Uninstalling $Tidal_emuName."
|
||||
uninstallEmuFP "$Tidal_emuName" "$Tidal_emuPath" "genericapplication" ""
|
||||
Tidal_uninstall () {
|
||||
setMSG "Uninstalling ${Tidal_emuName}."
|
||||
uninstallEmuFP "${Tidal_emuName}" "${Tidal_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Tidal_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Tidal_emuPath")" == "$Tidal_emuPath" ]; then
|
||||
Tidal_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Tidal_emuPath}")" == "${Tidal_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -42,6 +46,6 @@ Tidal_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Tidal_addSteamInputProfile() {
|
||||
Tidal_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,38 +1,42 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# genericApplicationWarehouse
|
||||
|
||||
# Variables
|
||||
Warehouse_emuName="Warehouse"
|
||||
Warehouse_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Warehouse_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Warehouse_emuPath="io.github.flattool.Warehouse"
|
||||
# shellcheck disable=2034
|
||||
Warehouse_releaseURL=""
|
||||
|
||||
# Install
|
||||
Warehouse_install() {
|
||||
setMSG "Installing $Warehouse_emuName."
|
||||
Warehouse_install () {
|
||||
setMSG "Installing ${Warehouse_emuName}."
|
||||
installEmuFP "${Warehouse_emuName}" "${Warehouse_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Warehouse_init() {
|
||||
setMSG "Initializing $Warehouse_emuName settings."
|
||||
configEmuFP "$Warehouse_emuName" "$Warehouse_emuPath" "true"
|
||||
Warehouse_init () {
|
||||
setMSG "Initializing ${Warehouse_emuName} settings."
|
||||
configEmuFP "${Warehouse_emuName}" "${Warehouse_emuPath}" "true"
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Warehouse_update() {
|
||||
setMSG "Updating $Warehouse_emuName settings."
|
||||
Warehouse_update () {
|
||||
setMSG "Updating ${Warehouse_emuName} settings."
|
||||
updateEmuFP "${Warehouse_emuName}" "${Warehouse_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Warehouse_uninstall() {
|
||||
setMSG "Uninstalling $Warehouse_emuName."
|
||||
uninstallEmuFP "$Warehouse_emuName" "$Warehouse_emuPath" "genericapplication" ""
|
||||
Warehouse_uninstall () {
|
||||
setMSG "Uninstalling ${Warehouse_emuName}."
|
||||
uninstallEmuFP "${Warehouse_emuName}" "${Warehouse_emuPath}" "genericapplication" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Warehouse_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Warehouse_emuPath")" == "$Warehouse_emuPath" ]; then
|
||||
Warehouse_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Warehouse_emuPath}")" == "${Warehouse_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -42,6 +46,6 @@ Warehouse_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Warehouse_addSteamInputProfile() {
|
||||
Warehouse_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
@ -1,42 +1,45 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayChiaki
|
||||
|
||||
# Variables
|
||||
Chiaki_emuName="Chiaki"
|
||||
Chiaki_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Chiaki_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Chiaki_emuPath="re.chiaki.Chiaki"
|
||||
# shellcheck disable=2034
|
||||
Chiaki_releaseURL=""
|
||||
|
||||
# Install
|
||||
Chiaki_install() {
|
||||
setMSG "Installing $Chiaki_emuName."
|
||||
Chiaki_install () {
|
||||
setMSG "Installing ${Chiaki_emuName}."
|
||||
installEmuFP "${Chiaki_emuName}" "${Chiaki_emuPath}" "remoteplay" "Chiaki Remote Play Client"
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Chiaki_init() {
|
||||
setMSG "Initializing $Chiaki_emuName settings."
|
||||
configEmuFP "$Chiaki_emuName" "$Chiaki_emuPath" "true"
|
||||
Chiaki_init () {
|
||||
setMSG "Initializing ${Chiaki_emuName} settings."
|
||||
configEmuFP "${Chiaki_emuName}" "${Chiaki_emuPath}" "true"
|
||||
#Chiaki_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Chiaki_update() {
|
||||
setMSG "Updating $Chiaki_emuName settings."
|
||||
Chiaki_update () {
|
||||
setMSG "Updating ${Chiaki_emuName} settings."
|
||||
updateEmuFP "${Chiaki_emuName}" "${Chiaki_emuPath}" "remoteplay" "Chiaki Remote Play Client"
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Chiaki_uninstall() {
|
||||
setMSG "Uninstalling $Chiaki_emuName."
|
||||
uninstallEmuFP "$Chiaki_emuName" "$Chiaki_emuPath" "remoteplay" "Chiaki Remote Play Client"
|
||||
Chiaki_uninstall () {
|
||||
setMSG "Uninstalling ${Chiaki_emuName}."
|
||||
uninstallEmuFP "${Chiaki_emuName}" "${Chiaki_emuPath}" "remoteplay" "Chiaki Remote Play Client"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Chiaki_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Chiaki_emuPath")" == "$Chiaki_emuPath" ]; then
|
||||
Chiaki_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Chiaki_emuPath}")" == "${Chiaki_emuPath}" ]; then
|
||||
# Uninstall if previously installed to the "system" level
|
||||
flatpak list | grep "$Chiaki_emuPath" | grep "system"
|
||||
if [ $? == 0 ]; then
|
||||
if flatpak list | grep "${Chiaki_emuPath}" | grep "system"; then
|
||||
Chiaki_uninstall
|
||||
Chiaki_install
|
||||
fi
|
||||
@ -49,7 +52,7 @@ Chiaki_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Chiaki_addSteamInputProfile() {
|
||||
Chiaki_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_chiaki_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,46 +1,48 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayChiaking
|
||||
|
||||
# Variables
|
||||
Chiaking_emuName="chiaki-ng"
|
||||
Chiaking_emuType="$emuDeckEmuTypeAppImage"
|
||||
Chiaking_emuPath="$emusFolder/chiaki-ng.AppImage"
|
||||
# shellcheck disable=2034,2154
|
||||
Chiaking_emuType="${emuDeckEmuTypeAppImage}"
|
||||
# shellcheck disable=2154
|
||||
Chiaking_emuPath="${emusFolder}/chiaki-ng.AppImage"
|
||||
|
||||
# Install
|
||||
Chiaking_install() {
|
||||
setMSG "Installing $Chiaking_emuName."
|
||||
# shellcheck disable=2120
|
||||
Chiaking_install () {
|
||||
setMSG "Installing ${Chiaking_emuName}."
|
||||
|
||||
local showProgress=$1
|
||||
installEmuAI "$Chiaking_emuName" "$Chiaking_emuName" "$(getReleaseURLGH "streetpea/chiaki-ng" ".AppImage.zip")" "" "zip" "remoteplay" "$showProgress"
|
||||
unzip -o "$emusFolder/chiaki-ng.zip" -d "$emusFolder" && rm -rf "$emusFolder/chiaki-ng.zip"
|
||||
chmod +x $Chiaking_emuPath
|
||||
local showProgress="${1}"
|
||||
installEmuAI "${Chiaking_emuName}" "${Chiaking_emuName}" "$(getReleaseURLGH "streetpea/chiaki-ng" ".AppImage.zip")" "" "zip" "remoteplay" "${showProgress}"
|
||||
unzip -o "${emusFolder}/chiaki-ng.zip" -d "${emusFolder}" && rm -rf "${emusFolder}/chiaki-ng.zip"
|
||||
chmod +x "${Chiaking_emuPath}"
|
||||
Chiaking_copySettings
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Chiaking_init() {
|
||||
Chiaking_init () {
|
||||
echo "NYI"
|
||||
}
|
||||
|
||||
# Update appimage
|
||||
Chiaking_update() {
|
||||
setMSG "Updating $Chiaking_emuName settings."
|
||||
rm -f "$Chiaking_emuPath"
|
||||
Chiaking_update () {
|
||||
setMSG "Updating ${Chiaking_emuName} settings."
|
||||
rm -f "${Chiaking_emuPath}"
|
||||
Chiaking_install
|
||||
Chiaking_copySettings
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
# Uninstall
|
||||
Chiaking_uninstall() {
|
||||
setMSG "Uninstalling $Chiaking_emuName."
|
||||
uninstallEmuAI "$Chiaking_emuName" "" "" "remoteplay"
|
||||
Chiaking_uninstall () {
|
||||
setMSG "Uninstalling ${Chiaking_emuName}."
|
||||
uninstallEmuAI "${Chiaking_emuName}" "" "" "remoteplay"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Chiaking_IsInstalled() {
|
||||
if [ -f "$Chiaking_emuPath" ]; then
|
||||
Chiaking_IsInstalled () {
|
||||
if [ -f "${Chiaking_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -49,10 +51,11 @@ Chiaking_IsInstalled() {
|
||||
fi
|
||||
}
|
||||
|
||||
Chiaking_copySettings(){
|
||||
# Copy Settings from Flatpak
|
||||
Chiaking_copySettings () {
|
||||
|
||||
# Copy settings from the Chiaki Flatpak if it exists and if there is not currently a settings file for the chiaki-ng AppImage
|
||||
if [ -f "$HOME/.var/app/re.chiaki.Chiaki/config/Chiaki/Chiaki.conf" ]; then
|
||||
rsync -av --ignore-existing "$HOME/.var/app/re.chiaki.Chiaki/config/Chiaki/Chiaki.conf" "$HOME/.config/Chiaki/Chiaki.conf"
|
||||
if [ -f "${HOME}/.var/app/re.chiaki.Chiaki/config/Chiaki/Chiaki.conf" ]; then
|
||||
rsync -av --ignore-existing "${HOME}/.var/app/re.chiaki.Chiaki/config/Chiaki/Chiaki.conf" "${HOME}/.config/Chiaki/Chiaki.conf"
|
||||
fi
|
||||
}
|
||||
|
@ -1,46 +1,50 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayGreenlight
|
||||
|
||||
# Variables
|
||||
Greenlight_emuName="Greenlight"
|
||||
Greenlight_emuType="$emuDeckEmuTypeAppImage"
|
||||
Greenlight_emuPath="$emusFolder/Greenlight.AppImage"
|
||||
# shellcheck disable=2034,2154
|
||||
Greenlight_emuType="${emuDeckEmuTypeAppImage}"
|
||||
# shellcheck disable=2154
|
||||
Greenlight_emuPath="${emusFolder}/Greenlight.AppImage"
|
||||
|
||||
|
||||
# Install
|
||||
Greenlight_install() {
|
||||
# shellcheck disable=2120
|
||||
Greenlight_install () {
|
||||
echo "Begin Greenlight Install"
|
||||
|
||||
local showProgress="$1"
|
||||
installEmuAI "$Greenlight_emuName" "" "$(getReleaseURLGH "unknownskl/greenlight" ".AppImage")" "" "" "remoteplay" "$showProgress"
|
||||
|
||||
local showProgress="${1}"
|
||||
installEmuAI "${Greenlight_emuName}" "" "$( getReleaseURLGH "unknownskl/greenlight" ".AppImage" )" "" "" "remoteplay" "${showProgress}"
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Greenlight_init() {
|
||||
Greenlight_init () {
|
||||
echo "NYI"
|
||||
# setMSG "Initializing $Greenlight_emuName settings."
|
||||
# configEmuFP "$Greenlight_emuName" "$Greenlight_emuPath" "true"
|
||||
# setMSG "Initializing ${Greenlight_emuName} settings."
|
||||
# configEmuFP "${Greenlight_emuName}" "${Greenlight_emuPath}" "true"
|
||||
# $Greenlight_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update appimage by reinstalling
|
||||
Greenlight_update() {
|
||||
setMSG "Updating $Greenlight_emuName."
|
||||
rm -f "$Greenlight_emuPath"
|
||||
Greenlight_update () {
|
||||
setMSG "Updating ${Greenlight_emuName}."
|
||||
rm -f "${Greenlight_emuPath}"
|
||||
Greenlight_install
|
||||
# configEmuAI "$Greenlight_emuName" "config" "$HOME/.config/greenlilght" "$emudeckBackend/configs/Greenlight/.config/greenlight"
|
||||
# configEmuAI "${Greenlight_emuName}" "config" "$HOME/.config/greenlilght" "$emudeckBackend/configs/Greenlight/.config/greenlight"
|
||||
# Greenlight_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Greenlight_uninstall() {
|
||||
setMSG "Uninstalling $Greenlight_emuName."
|
||||
uninstallEmuAI "$Greenlight_emuName" "" "" "remoteplay"
|
||||
Greenlight_uninstall () {
|
||||
setMSG "Uninstalling ${Greenlight_emuName}."
|
||||
uninstallEmuAI "${Greenlight_emuName}" "" "" "remoteplay"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Greenlight_IsInstalled() {
|
||||
if [ -f "$Greenlight_emuPath" ]; then
|
||||
Greenlight_IsInstalled () {
|
||||
if [ -f "${Greenlight_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -50,7 +54,7 @@ Greenlight_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Greenlight_addSteamInputProfile() {
|
||||
Greenlight_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
# rsync -r "$emudeckBackend/configs/steam-input/emudeck_Greenlight_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,41 +1,45 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayMoonlight
|
||||
|
||||
# Variables
|
||||
Moonlight_emuName="Moonlight"
|
||||
Moonlight_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Moonlight_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Moonlight_emuPath="com.moonlight_stream.Moonlight"
|
||||
# shellcheck disable=2034
|
||||
Moonlight_releaseURL=""
|
||||
|
||||
# Install
|
||||
Moonlight_install() {
|
||||
setMSG "Installing $Moonlight_emuName."
|
||||
Moonlight_install () {
|
||||
setMSG "Installing ${Moonlight_emuName}."
|
||||
installEmuFP "${Moonlight_emuName}" "${Moonlight_emuPath}" "remoteplay" "Moonlight Game Streaming"
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Moonlight_init() {
|
||||
setMSG "Initializing $Moonlight_emuName settings."
|
||||
configEmuFP "$Moonlight_emuName" "$Moonlight_emuPath" "true"
|
||||
Moonlight_init () {
|
||||
setMSG "Initializing ${Moonlight_emuName} settings."
|
||||
configEmuFP "${Moonlight_emuName}" "${Moonlight_emuPath}" "true"
|
||||
#Moonlight_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Moonlight_update() {
|
||||
setMSG "Updating $Moonlight_emuName settings."
|
||||
Moonlight_update () {
|
||||
setMSG "Updating ${Moonlight_emuName} settings."
|
||||
updateEmuFP "${Moonlight_emuName}" "${Moonlight_emuPath}" "remoteplay" "Moonlight Game Streaming"
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Moonlight_uninstall() {
|
||||
setMSG "Uninstalling $Moonlight_emuName."
|
||||
uninstallEmuFP "$Moonlight_emuName" "$Moonlight_emuPath" "remoteplay" "Moonlight Game Streaming"
|
||||
Moonlight_uninstall () {
|
||||
setMSG "Uninstalling ${Moonlight_emuName}."
|
||||
uninstallEmuFP "${Moonlight_emuName}" "${Moonlight_emuPath}" "remoteplay" "Moonlight Game Streaming"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Moonlight_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Moonlight_emuPath")" == "$Moonlight_emuPath" ]; then
|
||||
Moonlight_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Moonlight_emuPath}")" == "${Moonlight_emuPath}" ]; then
|
||||
# Uninstall if previously installed to the "system" level
|
||||
flatpak list | grep "$Moonlight_emuPath" | grep "system"
|
||||
flatpak list | grep "${Moonlight_emuPath}" | grep "system"
|
||||
if [ $? == 0 ]; then
|
||||
Moonlight_uninstall
|
||||
Moonlight_install
|
||||
@ -49,7 +53,7 @@ Moonlight_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Moonlight_addSteamInputProfile() {
|
||||
Moonlight_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_moonlight_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,41 +1,45 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayParsec
|
||||
|
||||
# Variables
|
||||
Parsec_emuName="Parsec"
|
||||
Parsec_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
Parsec_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
Parsec_emuPath="com.parsecgaming.parsec"
|
||||
# shellcheck disable=2034
|
||||
Parsec_releaseURL=""
|
||||
|
||||
# Install
|
||||
Parsec_install() {
|
||||
setMSG "Installing $Parsec_emuName."
|
||||
Parsec_install () {
|
||||
setMSG "Installing ${Parsec_emuName}."
|
||||
installEmuFP "${Parsec_emuName}" "${Parsec_emuPath}" "remoteplay" ""
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
Parsec_init() {
|
||||
setMSG "Initializing $Parsec_emuName settings."
|
||||
configEmuFP "$Parsec_emuName" "$Parsec_emuPath" "true"
|
||||
Parsec_init () {
|
||||
setMSG "Initializing ${Parsec_emuName} settings."
|
||||
configEmuFP "${Parsec_emuName}" "${Parsec_emuPath}" "true"
|
||||
#Parsec_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update flatpak & launcher script
|
||||
Parsec_update() {
|
||||
setMSG "Updating $Parsec_emuName settings."
|
||||
Parsec_update () {
|
||||
setMSG "Updating ${Parsec_emuName} settings."
|
||||
updateEmuFP "${Parsec_emuName}" "${Parsec_emuPath}" "remoteplay" ""
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
Parsec_uninstall() {
|
||||
setMSG "Uninstalling $Parsec_emuName."
|
||||
uninstallEmuFP "$Parsec_emuName" "$Parsec_emuPath" "remoteplay" ""
|
||||
Parsec_uninstall () {
|
||||
setMSG "Uninstalling ${Parsec_emuName}."
|
||||
uninstallEmuFP "${Parsec_emuName}" "${Parsec_emuPath}" "remoteplay" ""
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
Parsec_IsInstalled() {
|
||||
if [ "$(flatpak --columns=app list | grep "$Parsec_emuPath")" == "$Parsec_emuPath" ]; then
|
||||
Parsec_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${Parsec_emuPath}")" == "${Parsec_emuPath}" ]; then
|
||||
# Uninstall if previously installed to the "system" level
|
||||
flatpak list | grep "$Parsec_emuPath" | grep "system"
|
||||
flatpak list | grep "${Parsec_emuPath}" | grep "system"
|
||||
if [ $? == 0 ]; then
|
||||
Parsec_uninstall
|
||||
Parsec_install
|
||||
@ -49,7 +53,7 @@ Parsec_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
Parsec_addSteamInputProfile() {
|
||||
Parsec_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_parsec_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,43 +1,48 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlayShadow
|
||||
|
||||
# Variables
|
||||
ShadowPC_emuName="ShadowPC"
|
||||
ShadowPC_emuType="$emuDeckEmuTypeAppImage"
|
||||
ShadowPC_emuPath="$emusFolder/ShadowPC.AppImage"
|
||||
# shellcheck disable=2034,2154
|
||||
ShadowPC_emuType="${emuDeckEmuTypeAppImage}"
|
||||
# shellcheck disable=2154
|
||||
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."
|
||||
# shellcheck disable=2120
|
||||
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"
|
||||
#local installShadowPC=$(wget -q "${ShadowPC_releaseURL}" -P ${ShadowPC_emuPath})
|
||||
installEmuAI "${ShadowPC_emuName}" "" "${ShadowPC_releaseURL}" "" "" "remoteplay" "${showProgress}"
|
||||
}
|
||||
|
||||
# ApplyInitialSettings
|
||||
ShadowPC_init() {
|
||||
ShadowPC_init () {
|
||||
echo "NYI"
|
||||
#setMSG "Initializing $ShadowPC_emuName settings."
|
||||
#setMSG "Initializing ${ShadowPC_emuName} settings."
|
||||
#$ShadowPC_addSteamInputProfile
|
||||
}
|
||||
|
||||
# Update appimage
|
||||
ShadowPC_update() {
|
||||
setMSG "Updating $ShadowPC_emuName settings."
|
||||
rm -f "$ShadowPC_emuPath"
|
||||
ShadowPC_update () {
|
||||
setMSG "Updating ${ShadowPC_emuName} settings."
|
||||
rm -f "${ShadowPC_emuPath}"
|
||||
ShadowPC_install
|
||||
}
|
||||
|
||||
# Uninstall
|
||||
ShadowPC_uninstall() {
|
||||
setMSG "Uninstalling $ShadowPC_emuName."
|
||||
uninstallEmuAI "$ShadowPC_emuName" "" "" "remoteplay"
|
||||
ShadowPC_uninstall () {
|
||||
setMSG "Uninstalling ${ShadowPC_emuName}."
|
||||
uninstallEmuAI "${ShadowPC_emuName}" "" "" "remoteplay"
|
||||
}
|
||||
|
||||
# Check if installed
|
||||
ShadowPC_IsInstalled() {
|
||||
if [ -f "$ShadowPC_emuPath" ]; then
|
||||
ShadowPC_IsInstalled () {
|
||||
if [ -f "${ShadowPC_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -47,7 +52,7 @@ ShadowPC_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
ShadowPC_addSteamInputProfile() {
|
||||
ShadowPC_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_ShadowPC_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,39 +1,43 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# remotePlaySreamLink
|
||||
|
||||
# Variables
|
||||
SteamLink_emuName="SteamLink"
|
||||
SteamLink_emuType="$emuDeckEmuTypeFlatpak"
|
||||
# shellcheck disable=2034,2154
|
||||
SteamLink_emuType="${emuDeckEmuTypeFlatpak}"
|
||||
SteamLink_emuPath="com.valvesoftware.SteamLink"
|
||||
# shellcheck disable=2034
|
||||
SteamLink_releaseURL=""
|
||||
|
||||
# Install
|
||||
SteamLink_install() {
|
||||
setMSG "Installing $SteamLink_emuName."
|
||||
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_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."
|
||||
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" ""
|
||||
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
|
||||
SteamLink_IsInstalled () {
|
||||
if [ "$(flatpak --columns=app list | grep "${SteamLink_emuPath}")" == "${SteamLink_emuPath}" ]; then
|
||||
echo true
|
||||
return 1
|
||||
else
|
||||
@ -43,7 +47,7 @@ SteamLink_IsInstalled() {
|
||||
}
|
||||
|
||||
# Import steam profile
|
||||
SteamLink_addSteamInputProfile() {
|
||||
SteamLink_addSteamInputProfile () {
|
||||
echo "NYI"
|
||||
#rsync -r "$emudeckBackend/configs/steam-input/emudeck_steamlink_controller_config.vdf" "$HOME/.steam/steam/controller_base/templates/"
|
||||
}
|
||||
|
@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync whiptail python)
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
linuxID=$(lsb_release -si)
|
||||
sandbox=""
|
||||
|
||||
@ -52,38 +58,31 @@ else
|
||||
|
||||
if command -v apt-get >/dev/null; then
|
||||
echo "Installing packages with apt..."
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo killall apt apt-get
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install "${DEBIAN_DEPS[@]}"
|
||||
elif command -v pacman >/dev/null; then
|
||||
echo "Installing packages with pacman..."
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync whiptail python)
|
||||
|
||||
sudo pacman --noconfirm -Syu
|
||||
sudo pacman --noconfirm -S "${ARCH_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages with rpm-ostree..."
|
||||
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v dnf >/dev/null; then
|
||||
echo "Installing packages with dnf..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo dnf -y upgrade
|
||||
sudo dnf -y install "${FEDORA_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages wth rpm-ostree..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo rpm-ostree upgrade
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v zypper >/dev/null; then
|
||||
echo "Installing packages with zypper..."
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo zypper --non-interactive up
|
||||
sudo zypper --non-interactive install "${SUSE_DEPS[@]}"
|
||||
elif command -v xbps-install >/dev/null; then
|
||||
echo "Installing packages with xbps..."
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
sudo xbps-install -Syu
|
||||
sudo xbps-install -Sy "${VOID_DEPS[@]}"
|
||||
|
@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync whiptail python)
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
linuxID=$(lsb_release -si)
|
||||
sandbox=""
|
||||
|
||||
@ -52,38 +58,31 @@ else
|
||||
|
||||
if command -v apt-get >/dev/null; then
|
||||
echo "Installing packages with apt..."
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo killall apt apt-get
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install "${DEBIAN_DEPS[@]}"
|
||||
elif command -v pacman >/dev/null; then
|
||||
echo "Installing packages with pacman..."
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync whiptail python)
|
||||
|
||||
sudo pacman --noconfirm -Syu
|
||||
sudo pacman --noconfirm -S "${ARCH_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages with rpm-ostree..."
|
||||
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v dnf >/dev/null; then
|
||||
echo "Installing packages with dnf..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo dnf -y upgrade
|
||||
sudo dnf -y install "${FEDORA_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages wth rpm-ostree..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo rpm-ostree upgrade
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v zypper >/dev/null; then
|
||||
echo "Installing packages with zypper..."
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo zypper --non-interactive up
|
||||
sudo zypper --non-interactive install "${SUSE_DEPS[@]}"
|
||||
elif command -v xbps-install >/dev/null; then
|
||||
echo "Installing packages with xbps..."
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
sudo xbps-install -Syu
|
||||
sudo xbps-install -Sy "${VOID_DEPS[@]}"
|
||||
|
21
install.sh
21
install.sh
@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync libnewt python)
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
linuxID=$(lsb_release -si)
|
||||
sandbox=""
|
||||
|
||||
@ -53,38 +59,31 @@ else
|
||||
|
||||
if command -v apt-get >/dev/null; then
|
||||
echo "Installing packages with apt..."
|
||||
DEBIAN_DEPS=(jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo killall apt apt-get
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install "${DEBIAN_DEPS[@]}"
|
||||
elif command -v pacman >/dev/null; then
|
||||
echo "Installing packages with pacman..."
|
||||
ARCH_DEPS=(steam jq zenity flatpak unzip bash fuse2 git rsync libnewt python)
|
||||
|
||||
sudo pacman --noconfirm -Syu
|
||||
sudo pacman --noconfirm -S "${ARCH_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages with rpm-ostree..."
|
||||
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v dnf >/dev/null; then
|
||||
echo "Installing packages with dnf..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo dnf -y upgrade
|
||||
sudo dnf -y install "${FEDORA_DEPS[@]}"
|
||||
elif command -v rpm-ostree >/dev/null; then
|
||||
echo "Installing packages wth rpm-ostree..."
|
||||
FEDORA_DEPS=(jq zenity flatpak unzip bash fuse git rsync newt python)
|
||||
|
||||
sudo rpm-ostree upgrade
|
||||
sudo rpm-ostree install "${FEDORA_DEPS[@]}"
|
||||
elif command -v zypper >/dev/null; then
|
||||
echo "Installing packages with zypper..."
|
||||
SUSE_DEPS=(steam jq zenity flatpak unzip bash libfuse2 git rsync whiptail python)
|
||||
|
||||
sudo zypper --non-interactive up
|
||||
sudo zypper --non-interactive install "${SUSE_DEPS[@]}"
|
||||
elif command -v xbps-install >/dev/null; then
|
||||
echo "Installing packages with xbps..."
|
||||
VOID_DEPS=(steam jq zenity flatpak unzip bash fuse git rsync whiptail python)
|
||||
|
||||
sudo xbps-install -Syu
|
||||
sudo xbps-install -Sy "${VOID_DEPS[@]}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user