/**
 * Tauri shell open utility, only imported in Tauri builds
 */

export async function openWithTauriShell(url: string): Promise<void> {
  // @ts-ignore
  const { open } = await import(/* @vite-ignore */ '@tauri-apps/plugin-shell');
  await open(url);
}
