Skip to content

enochchau/default-browser

Repository files navigation

default-browser

Command line tool to set the default http handler in OSX. Uses up to date APIs, compatible with macOS 12 and later.

Build

swift build -c release

Usage

List http handlers:

> default-browser
* firefox
google_chrome
safari

Change default http handler

default-browser google_chrome

Related

This cli uses thhe NSWorkspace APIs rather than the deprecated Launch Services APIs.

About

CLI to change default browser on OSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages