Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Post-install open default browser on macOS #65

Conversation

rbonestell
Copy link
Contributor

This pull request includes a change to the pkg/scripts/postinstall file to improve the way the browser is opened to the func web interface. An addition to determine and open the default browser, falling back to Safari if no default is found.

  • pkg/scripts/postinstall: Added a script to determine the default browser using defaults read and grep, and open the func web interface in the default browser or Safari if no default is found

@rbonestell
Copy link
Contributor Author

Doesn't guarantee compatibility with all supported versions of macOS, discussing other strategies with @acfunk.

@rbonestell rbonestell closed this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant