Bootstrapping

From Resonite Wiki
Revision as of 06:28, 19 November 2023 by BigRedWolfy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When Resonite launches, it performs a bootstrap process. The job of this process it to setup the initial world(s) of Resonite so user can start interacting with the system. By default, Resonite runs the Userspace bootstrap function, which sets up the userspace overlay layer, creates or loads the local home and signs the user in, if he stored his credentials.

The bootstrap function can however be overriden using the -Bootstrap command line argument and providing fully classified path to the class containing the Bootstrap() static function.

Resonite will automatically call this function once it's done with its own initialization.

Overriding this function can be used to create various specific Resonite' applications, where you want to load or setup a task specific world, bypassing the home experience, userspace and all its functionality altogether.