Jean28518 / linux-assistant

A daily linux helper with powerful integrated search, routines checks and administrative tasks. The Project is built with flutter and python.
https://www.linux-assistant.org
GNU General Public License v3.0
92 stars 12 forks source link

Ubuntu 22.10 is incorrectly recognized #74

Closed michaelklose closed 1 year ago

michaelklose commented 1 year ago

I'm using Linux-Assistant 0.1.4 and Ubuntu 22.10 is incorrectly recognized as version 22.1.

Problems: +1 +1

Jean28518 commented 1 year ago

Thanks for reporting!

Jean28518 commented 1 year ago

We can close this because the version isn't displayed anymore because of too many issues and the lack of use of it

Nati0ns commented 1 year ago

Hi,

sorry for commenting on a closed issue. I took a look at this today, before it was closed.

I think the reason it's displayed wrong is that when the environment values are loaded, the version is set via double.Parse with the string '22.10' - which returns 22.1 (linux.dart, line: 735).

I was wondering, is there a reason why the version number is a double instead of just a normal string? I would've expected a lot less trouble from the latter.

Best regards!