Skip to content

Demo SwiftUI app for changing default browser on macOS

Notifications You must be signed in to change notification settings

jlehikoinen/DefaultBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DefaultBrowser

DefaultBrowser is a demo SwiftUI app for changing default browser on macOS.

Note! DefaultBrowser displays installed browsers that can be found on the included incomplete list of common macOS browsers (DefaultBrowser/Resources/browsers.json).

App

Requirements

  • Minimum macOS version: 10.15

Launch Services

DefaultBrowser uses Launch Services API for changing default browser and modifies http and https URL scheme handlers.

Deprecation warnings

  • 'LSCopyDefaultHandlerForURLScheme' was deprecated in macOS 10.15: Use LSCopyDefaultApplicationURLForURL() instead.
  • 'LSCopyAllHandlersForURLScheme' was deprecated in macOS 10.15: Use LSCopyApplicationURLsForURL() instead.

About

Demo SwiftUI app for changing default browser on macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages