mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
temp fix on RemotePlayWhatever
This commit is contained in:
parent
541a9fcc99
commit
58aa6d769a
@ -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
|
||||
@ -2229,6 +2230,7 @@ elif [[ -f "$vkplay_path2" ]]; then
|
||||
fi
|
||||
|
||||
|
||||
#Other Applications
|
||||
#Other Applications
|
||||
if [[ $options == *"RemotePlayWhatever"* ]]; then
|
||||
# Set the directory path
|
||||
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user