diff --git a/imagewriter.cpp b/imagewriter.cpp index 6d1a8d5..ec98571 100644 --- a/imagewriter.cpp +++ b/imagewriter.cpp @@ -180,6 +180,7 @@ void ImageWriter::startWrite() connect(_thread, SIGNAL(success()), SLOT(onSuccess())); connect(_thread, SIGNAL(error(QString)), SLOT(onError(QString))); _thread->setVerifyEnabled(_verifyEnabled); + _thread->setUserAgent(QString("Mozilla/5.0 rpi-imager/%1").arg(constantVersion()).toUtf8()); if (!_expectedHash.isEmpty() && _cachedFileHash != _expectedHash && _cachingEnabled) {