brows3r — TypeScript API
    Preparing search index...

    Function getPlatform

    • Return the normalised platform for the current OS.

      Calls the Tauri OS plugin bridge. Tauri 2's plugin-os exposes the plugin:os|platform command which returns "macos", "windows", or "linux". If the invoke fails (no Tauri runtime / unit test), falls back to navigator.userAgent heuristics.

      Returns Promise<Platform>