I was just trying to use the PluginHostType helper to check for a specific Ableton Live version. However the host is only recognized as generic Ableton Live.
The reason is that inside getHostType() the filename checked if it contains a substring such as “Live 10.” The filename of the host app however is “Ableton Live 10 Suite.exe” or “Ableton Live 9 Lite.exe”. So getHostType() should not expected a “.” after Live’s version number.
There is also at least one spot inside JUCE where it checks for Ableton Live 10 which will also fail due to this.