Skip to content

Commit

Permalink
temp fix on RemotePlayWhatever
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored May 14, 2024
1 parent 541a9fc commit 58aa6d7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions NonSteamLaunchers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ function StartFreshFunction {
rm -rf ${logged_in_home}/.config/systemd/user/env_vars
rm -rf ${logged_in_home}/.config/systemd/user/NSLGameScanner.py
rm -rf ${logged_in_home}/.local/share/applications/RemotePlayWhatever
rm -rf ${logged_in_home}/.local/share/applications/RemotePlayWhatever.desktop
rm -rf ${logged_in_home}/Downloads/NonSteamLaunchers-install.log

# Delete the service file
Expand Down Expand Up @@ -2229,6 +2230,7 @@ elif [[ -f "$vkplay_path2" ]]; then
fi


#Other Applications
#Other Applications
if [[ $options == *"RemotePlayWhatever"* ]]; then
# Set the directory path
Expand All @@ -2254,10 +2256,19 @@ if [[ $options == *"RemotePlayWhatever"* ]]; then
# Make the file executable
chmod +x "$DIRECTORY/RemotePlayWhatever"


echo "RemotePlayWhatever downloaded, renamed to Remote Play Whatever, made executable, created in $DIRECTORY"

steamos-add-to-steam "$DIRECTORY/RemotePlayWhatever"
# Create a new .desktop file
echo "[Desktop Entry]
Type=Application
Exec=$DIRECTORY/RemotePlayWhatever \"--appid 0\"
Name=RemotePlayWhatever
Icon=$DIRECTORY/RemotePlayWhatever" > "$DIRECTORY/RemotePlayWhatever.desktop"

# Make the .desktop file executable
chmod +x "$DIRECTORY/RemotePlayWhatever.desktop"

steamos-add-to-steam "$DIRECTORY/RemotePlayWhatever.desktop"
sleep 5
wait
echo "added RemotePlayWhatever to steamos"
Expand Down

0 comments on commit 58aa6d7

Please sign in to comment.