You can just run it in the constructor of a [ShellComponent]. If you have other code that requires this to happen first, you can just pass the first class in as a constructor dependency to the second. If it's one time initialisation, you have to manage that yourself, caching a timestamp/version.
You can just run it in the constructor of a [ShellComponent]. If you have other code that requires this to happen first, you can just pass the first class in as a constructor dependency to the second. If it's one time initialisation, you have to manage that yourself, caching a timestamp/version.