Last active
October 17, 2022 22:11
-
-
Save apparition47/7a67f543191a334191d6fa980eb3602b to your computer and use it in GitHub Desktop.
Make macOS Outlook your default mailto Application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
swift <(echo 'import Foundation;import CoreServices;LSSetDefaultHandlerForURLScheme("mailto" as NSString as CFString, "com.microsoft.Outlook" as NSString as CFString)') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment