Commit fc1dc176 authored by Mikhail Tergoev's avatar Mikhail Tergoev

fix shortcut name

parent 069dfda7
......@@ -1462,6 +1462,8 @@ pw_create_gui_png () {
PORTPROTON_NAME="$(basename "${portwine_exe}" .exe)"
fi
fi
PORTPROTON_NAME="$(echo "${PORTPROTON_NAME}" | sed "s/\`//g" | sed "s/\"//g" | sed "s/'//g")"
export PORTPROTON_NAME
edit_db_from_gui PORTPROTON_NAME
fi
......@@ -3696,6 +3698,7 @@ portwine_create_shortcut () {
then name_desktop="$PORTWINE_CREATE_SHORTCUT_NAME"
else name_desktop=$(echo "$OUTPUT" | awk -F'|' '{print $2}')
fi
name_desktop="$(echo "${name_desktop}" | sed "s/\`//g" | sed "s/\"//g" | sed "s/'//g")"
create_menu_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $3}')
create_desktop_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $4}')
create_menu_steam_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $5}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment