Skip to content

Instantly share code, notes, and snippets.

@andrewp-as-is
Last active January 25, 2022 07:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewp-as-is/1370fc80b9984abcc4cd378c3cf60649 to your computer and use it in GitHub Desktop.
Save andrewp-as-is/1370fc80b9984abcc4cd378c3cf60649 to your computer and use it in GitHub Desktop.
macOS lsregister app
#!/usr/bin/env bash
{ set +x; } 2>/dev/null
set ~/Applications/name.app
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment