Added File.getVersion
-
I added this function as I have a need to check which version of a plugin users have installed on their system.
Not that it affects anyone other than me, but on GNU/Linux JUCE hasn't implemented a way to get a file version, and there doesn't appear to be a universal way to do this. So I rolled my own that looks for the file version in the file name, which is quite common on GNU/Linux anyway.
-
@d-healey excellent!
-
@d-healey It's great news, well done!
-
@orange said in Added File.getVersion:
@d-healey It's great news, well done!
Actually it doesn't seem to work on OSX either, at least in my tests it couldn't pick up a version number from a vst3
-
@d-healey I reckon this issue is known. I can't remember where I've seen this info but I know it can be picky to get some OSX file versions...
-
@d-healey said in Added File.getVersion:
Actually it doesn't seem to work on OSX either, at least in my tests it couldn't pick up a version number from a vst3
I will check it