Skip to content

Custom Launcher

DeflatedPickle edited this page Jun 30, 2020 · 1 revision

Rawky includes a launcher, but it's possible that you might want to provide an alternative launcher. Perhaps a GUI-based one? An auto-updating one? One with a lot of CLI arguments?

To do this, you need to start with a main function.

Inside this function, you'll need to perform the program setup. You can optionally load plugins with PluginUtil, or you can choose to ditch them, maybe in favour of a different system. You can also create/manage configs with ConfigUtil.

What's The Job of a Launcher?

The launcher is in-charge of;

  • Loading plugins
  • Generating/Loading Configs
  • Triggering lower-level events
  • Deploying the docking grid
  • Setting the initial theme
  • Showing the main window
Clone this wiki locally