Fn

Function Fn 

Source
pub fn Fn()
Expand description

The main function that orchestrates the application lifecycle.

This function:

  1. Creates a Tokio runtime
  2. Parses CLI arguments
  3. Builds application state
  4. Creates a scheduler
  5. Selects a port for the local server
  6. Resolves the log level
  7. Sets up the Tauri builder
  8. Configures the application lifecycle
  9. Runs the Tauri application
  10. Handles graceful shutdown