Redirect output to a log file to remove RSI Launcher's need for a terminal

This commit is contained in:
the-sane
2024-11-06 16:12:33 -05:00
parent a7dfe90651
commit 1121e5419d
2 changed files with 8 additions and 9 deletions

View File

@ -2926,8 +2926,6 @@ install_game_wine() {
sed -i '/^Path=/s/ /\\\s/g' "$home_desktop_file"
# Replace icon
sed -i "s|^Icon=.*|Icon=$rsi_icon_name|" "$home_desktop_file"
# Make it start in a terminal
echo "Terminal=true" >> "$home_desktop_file"
debug_print continue "Updated $home_desktop_file"
else
debug_print continue "Unable to find $home_desktop_file"
@ -2945,8 +2943,6 @@ install_game_wine() {
sed -i '/^Path=/s/ /\\\s/g' "$localshare_desktop_file"
# Replace icon
sed -i "s|^Icon=.*|Icon=$rsi_icon_name|" "$localshare_desktop_file"
# Make it start in a terminal
echo "Terminal=true" >> "$localshare_desktop_file"
debug_print continue "Updated $localshare_desktop_file"
else
debug_print continue "Unable to find $localshare_desktop_file"