Has anyone got the InstallTrigger.compareVersion() function to actually
work? No matter what, this call seems to return a -4 as the result. On the
other hand, InstallTrigger.getVersion() seems to work just fine. I can get
around it by writing my own compareVersion by using getVersion, but I keep
thinking that I must be doing something wrong.
In my install.js I use something like this:
initInstall("npell", "plugins/abc", "1.0.0.1");
and for my InstallTrigger.compareVersion() I use something loike this:
InstallTrigger.compareVersion("plugins/abc", "1.0.0.1")
The result is always -4, even though the numbers are the same.
Any thoughts?
Danny Aijala