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

open: StartWith() and RunWith() revert to default if appName is empty #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

technoweenie
Copy link

This package is used in an app where we are considering allowing the user to override the default browser. Basically, I'm a Firefox user, but for Reasons ™️, only Chrome works with the app.

This change treats RunWith(url, "") as Run(url), or StartWith(url, "") as Start(url). This way, the app will use the default browser by default unless the user overrides the setting. It also saves us from wrapping or implementing this open package ourselves.

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.

2 participants