pub fn prepare(identifier: &str)
Expand description

Checks if current instance is the primary instance. Also sends the URL event data to the primary instance and stops the process afterwards.

Platform-specific:

  • macOS: Only registers the identifier (only relevant in debug mode). It does not interact with the primary instance and does not exit the app.