Lissy93 / AdGuardian-Term

🛡️ Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance
https://adguardian.as93.net
MIT License
901 stars 37 forks source link

[Fix] Adds a check to ensure using a compatible version of AdGuard API #13

Closed Lissy93 closed 1 year ago

Lissy93 commented 1 year ago

Overview: Adds a check that the users AdGuard Home instance is of a valid version - at least 0.107.28. This is called when the app first starts, and a message will be shown to the user if they're running an incompatible version.

Rationale: Older versions of AdGuard Home have a different API schema. This makes them incompatible. This would cause AdGuardian-Term to panic and crash when it failed to decode the response from the server, which didn't meed the required format.

Ticked: #5

Screenshot: