cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!

Home Page:https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Aus-gez opened this issue · comments

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.

Resolved with #427.