Hi all!
With the release of PS 5.0, I noticed some differences about how the UI elements are displayed. The resolution is a bit higher, and HTML elements look a bit different.
I was thinking that for our URCap that was built for PS 3.x, one option to adjust these visual details would be to use a different HTML file for the installation / command screens according to the software version. The problem is that in InstallationNodeService
, the method getHTML
is called before createInstallationNode
, so I don’t have access to the API object at the time when the HTML file is requested, and therefore I can’t get the software version.
Is there any workaround this? Perhaps a way to get the software version in the activator instead? I think that it would be a bit hard to make a single HTML resource look good for both PS 3.x and 5.x.
Thanks in advance!