Set up Share function for macOS