On Fri, May 14, 2021 at 12:57 PM David Edmundson <da...@davidedmundson.co.uk> wrote: > > > though would be two different mainfiles in the package depending if > > it's loaded as containment or as an applet? > > Yes. Either potentially we can use the "X-Plasma-MainScript" property > in the metadata , or worst case we install as two packages and they > both pull in the same private library.
wouldn't like that, as kinda goes against the hierarchy, would prefer a specialized X-Plasma-ContainmentMainScript which falls back to the normal mainscript -- Marco Martin