-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[addon] show application Version as ETS #50
Conversation
The ETS shows the version of the application as hex number with a minor version after a point. This behavior is recreated with this change.
If i enter 1 and 5 it makes 1.5? |
Here I made changes to add a new field below the original version in application tab. Yes, if you enter 1 and 5 it will be version 1.5 |
Perfect, could you fix it so Versions lower 16 are not shown as hex :) |
If there is a version 12(dez) in ETS version field should not show "C". Now it shows nothing, if there is a not numeric ETS version.
Now every not numeric version is not shown in the ETS version field. |
There are still versions that dont work. 10 - 15 why not something like: int major = Math.Floor(value / 16);
int minor = value % 16;
return $"{major}.{minor}" |
In ETS versions from 10 to 15 (0xA...0xF) are displayed as x.10...x.15 For example version 2.13 is 45(dec) = 0x2D
I added some code to convert the input back to int. |
this works perfect :) |
The ETS shows the version of the application as hex number with a minor version after a point. This behavior is recreated with this change.
Now it looks like: