From 474b787f82ec683d676e5a8d84f3201eea669322 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Wed, 18 Sep 2024 13:02:22 -0500 Subject: [PATCH] Include version in Inflator useragent string --- Dockerfile.netkan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.netkan b/Dockerfile.netkan index 0e01975c3..7f38a1fc8 100644 --- a/Dockerfile.netkan +++ b/Dockerfile.netkan @@ -23,5 +23,5 @@ USER netkan WORKDIR /home/netkan ADD --chown=netkan netkan.exe . ENTRYPOINT /usr/bin/mono netkan.exe --game ${GAME:-KSP} --queues $QUEUES \ - --net-useragent 'Mozilla/5.0 (compatible; Netkanbot/1.0; CKAN; +https://github.com/KSP-CKAN/NetKAN-Infra)' \ + --net-useragent "Mozilla/5.0 (compatible; Netkanbot/1.0; CKAN/$(/usr/bin/mono netkan.exe --version); +https://github.com/KSP-CKAN/NetKAN-Infra)" \ --github-token $GH_Token --gitlab-token "$GL_Token" --cachedir ckan_cache -v