Update version to v4.2.84 and add Hytale support

This commit is contained in:
Roy
2026-01-13 13:10:09 -08:00
committed by GitHub
parent bde517ca40
commit a443427e6b
+44 -15
View File
@@ -93,7 +93,7 @@ fi
exec > >(tee -a "$log_file") 2>&1
# Version number (major.minor)
version=v4.2.83
version=v4.2.84
#NSL Decky Plugin Latest Github Version
deckyversion=$(curl -s https://raw.githubusercontent.com/moraroy/NonSteamLaunchersDecky/refs/heads/main/package.json | grep -o '"version": "[^"]*' | sed 's/"version": "//')
@@ -839,6 +839,7 @@ launcher_entries=(
"$poketcg_value|$poketcg_text"
"$antstream_value|$antstream_text"
"$stove_value|$stove_text"
"FALSE|Hytale"
"FALSE|RemotePlayWhatever"
"FALSE|NVIDIA GeForce NOW"
"FALSE|Moonlight Game Streaming"
@@ -1973,7 +1974,15 @@ process_uninstall_options() {
fi
fi
if [[ $uninstall_options == *"Uninstall Hytale"* ]]; then
# Uninstall Hytale Launcher Flatpak app (user scope)
flatpak uninstall -y --delete-data --force-remove --user com.hypixel.HytaleLauncher
# Notify user
zenity --info --text="Hytale has been uninstalled." --width=250 --height=150 &
sleep 3
killall zenity
fi
if [[ $uninstall_options == *"Uninstall RemotePlayWhatever"* ]]; then
rm -rf "${logged_in_home}/.local/share/applications/RemotePlayWhatever"
@@ -2137,6 +2146,7 @@ else
FALSE "Mozilla Firefox" \
FALSE "Brave" \
FALSE "Microsoft Edge" \
FALSE "Hytale" \
)
# Convert the returned string to an array
IFS='|' read -r -a uninstall_options_array <<< "$uninstall_options"
@@ -3096,21 +3106,40 @@ fi
echo "99.3"
echo "# Installing Hytale (Native Linux) ...please wait..."
if [[ $options == *"Hytale"* ]]; then
if flatpak info --user com.hypixel.HytaleLauncher &>/dev/null || flatpak info --system com.hypixel.HytaleLauncher &>/dev/null; then
echo "Hytale is already installed (user or system)."
else
echo "Downloading Hytale Flatpak..."
curl -L -o /tmp/hytale-launcher.flatpak https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak
echo "Installing Hytale Flatpak app (user scope)..."
if flatpak install -y --user /tmp/hytale-launcher.flatpak; then
echo "Hytale Launcher installed successfully."
else
echo "Failed to install Hytale Launcher."
fi
fi
fi
echo "99.4"
echo "# Checking if Ludusavi is installed...please wait..."
# AutoInstall Ludusavi