RustInitRustComponents.sys.mjs
- RustInitRustComponents.sys.initialize(profilePath)
Global initialization routines for Rust components, when logins/keydb feature is activated. Must be called before any other calls to Rust components.
Receives the path to the profile directory.
For adding additional initialization code: Note that this function is called very early in the app lifetime and therefore affects the startup time. Only the most necessary things should be done here.
- Arguments:
profilePath (string)