Closed felipeerias closed 1 week ago
Hold on, perhaps we should replace the CompareBuildStrings with your new function. There are a few codepaths that depend on the OS version that are being applied incorrectly now.
Nevermind, it's not that simple; we would need something else for the native code.
After #1541 this is no longer needed
Add a method
StringUtils.compareVersions()
that compares semantic versions. We assume that versions are defined as integer numbers separated by periods (.
), but the method also takes into account empty strings and the possibility that some components can not be parsed as integers.Use
StringUtils.compareVersions()
to check the version of the PICO operating system when enabling passthrough.Tests are included.