Set the default application for a URL scheme.
macOS may display a confirmation dialog for sensitive schemes such as
http and https. For custom schemes (hammerspoon2) no dialog is shown.
Parameters
scheme: string
The scheme to configure, without :// (e.g. "https", "mailto").
bundleID: string
Bundle identifier of the application to set as default.
Set the default application for a URL scheme. macOS may display a confirmation dialog for sensitive schemes such as
httpandhttps. For custom schemes (hammerspoon2) no dialog is shown.