diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 740be877..1e4b46ac 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -6601,6 +6601,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=""