Register the app as the default handler for the specified protocol.
The name of the protocol without ://. For example, if you want your app to handle tauri:// links, call this method with tauri as the protocol.
://
tauri://
tauri
import { register } from '@tauri-apps/plugin-deep-link';await register("my-scheme"); Copy
import { register } from '@tauri-apps/plugin-deep-link';await register("my-scheme");
2.0.0
Register the app as the default handler for the specified protocol.