mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Add rd_zenity function to keep Gtk-related errors out of the terminal
This commit is contained in:
parent
aa7ac1058f
commit
3c0d69e644
|
@ -285,6 +285,11 @@ dir_prep() {
|
|||
log i "$symlink is now $real"
|
||||
}
|
||||
|
||||
rd_zenity() {
|
||||
# This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck
|
||||
zenity 2> >(grep -v 'Gtk' >&2) "$@"
|
||||
}
|
||||
|
||||
update_rpcs3_firmware() {
|
||||
create_dir "$roms_folder/ps3/tmp"
|
||||
chmod 777 "$roms_folder/ps3/tmp"
|
||||
|
|
Loading…
Reference in a new issue