2 Commits

Author SHA1 Message Date
Dorian Stoll
ce853cc4a6 Remove kernel version from User-Agent
The application sends the kernel version as part of the User-Agent.
However, the Deezer API seems to assume the number to follow semver,
and can get confused when it doesn't. This then leads to some features
like dark mode being reported as unavailable.

e.g: 5.11.0-16-generic works, while 5.15.14-200.fc35.x86_64 doesn't.

The solution is to ignore the actual version and send bogus data that
is known to work.

Fixes: https://github.com/aunetx/deezer-linux/issues/6
2022-01-29 14:31:38 +01:00
aunetx
77730bae29 Update makefile 2021-10-13 00:14:07 +02:00