unitycoder / UnityLauncher

Unity Version Launcher
MIT License
138 stars 28 forks source link

Automatically select closest suitable version #3

Closed unitycoder closed 6 years ago

unitycoder commented 7 years ago

Currently only exact version works (5.6.1f1 project cannot be automatically opened with 5.6.2f1 or patch releases)

Should add option to upgrade project into next compatible version, for example: 5.6.1f1 project would open in 5.6.1p1 etc.

jason-storey commented 7 years ago

Had a stab at this,

basic idea:

(the one caveat is 2017 throws the sequential order out of whack, so i have a second function to split and test 2017s with each other, and the rest with the rest)

https://pastebin.com/uK8uF4gJ

unitycoder commented 7 years ago

thanks! to keep it simple, ill probably just give the user your sorted list, and they can pick the version..and see if that works good enough.