Commit e4deefb8 authored by Mikhail Tergoev's avatar Mikhail Tergoev

added PortProton user-agent for get WINE metadata

parent dceae60a
......@@ -5368,7 +5368,7 @@ gui_proton_downloader () {
fi
METADATA_URL="https://git.linux-gaming.ru/Boria138/PortProton-Wine-Metadata/raw/branch/main/wine_metadata.json"
METADATA=$(curl -s "$METADATA_URL")
METADATA=$(curl -A 'PortProton' -s "$METADATA_URL")
if [[ -z "$METADATA" ]] ; then
yad_error "${translations[Error: failed to fetch metadata.]}"
restart_pp
......
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