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: add option to exit after launch #690

Closed
wants to merge 2 commits into from

Commits on May 23, 2024

  1. feat: add option to exit after launch

    Using this option fixes will-stone#595 by proxy of spawning a new instance on the
    current desktop.
    
    I imagine cleaning up Browserosaurus can also help conserve memory usage
    on those systems with little of it, at the cost of startup time.
    
    Keep in mind if this option is set during development, Browserosaurus
    *will* exit and you'll have to restart it on the command line to use
    it as the default HTTP handler; but in production this would seamlessly
    spin up the app when the user clicks a link.
    
    This returns a promise from `openApp` which could perhaps be used for
    more extensive error handling in the future.
    benjamingwynn committed May 23, 2024
    Configuration menu
    Copy the full SHA
    af39336 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80d0cb1 View commit details
    Browse the repository at this point in the history