diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 15229677..8b57ac23 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -6603,6 +6603,10 @@ resize_png () { RESIZE_NAME_PNG="${2// /_}" fi + if [[ $RESIZE_NAME_PNG =~ ru.linux_gaming.PortProton/data/img/ ]] + then RESIZE_NAME_PNG=${RESIZE_NAME_PNG/*ru.linux_gaming.PortProton\/data\/img\//} + fi + for resize_to in "${@:3}" ; do if [[ $resize_to == 128 ]] then resize_to_helper=""