cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.78k stars 115 forks source link

WIne detection step in install script sees v9.10 as less than v9.8 and forces user to install wine again. #426

Closed Aus-gez closed 2 weeks ago

Aus-gez commented 2 weeks ago

Describe the bug As the title says.

To Reproduce Steps to reproduce the behavior:

  1. Install a version of wine-staging that is still in the 9 series and has a dot-release of greater than or equal to 10.
  2. Run the install script.

Expected behavior The install script is happy with the version of Wine installed.

Additional context The issue is that the math comparison of version numbers only works while the dot-release of wine hasn't gone into double digits. After that is stops behaving like a decimal number and can no longer be compared as one.

Aus-gez commented 2 weeks ago

Resolved with #427.