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

Add support for specifying a command in browser configurations #342

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

Conversation

Overbryd
Copy link

@Overbryd Overbryd commented Jan 5, 2025

  • Introduce a new command option in BrowserOpts to allow specifying a custom command to open URLs.
  • Update AppDescriptor and relevant methods to handle the new command type.
  • Modify the getBrowserCommand function to prioritize command over app paths and bundle IDs.
  • Update configuration schema validations to include the new command attribute.
  • Add logging for URLs, bundle IDs, and app paths for better debugging.
  • Bump CFBundleVersion from 319 to 336 in Info.plist.

- Introduce a new `command` option in `BrowserOpts` to allow specifying a custom command to open URLs.
- Update `AppDescriptor` and relevant methods to handle the new `command` type.
- Modify the `getBrowserCommand` function to prioritize `command` over app paths and bundle IDs.
- Update configuration schema validations to include the new `command` attribute.
- Add logging for URLs, bundle IDs, and app paths for better debugging.
- Bump `CFBundleVersion` from 319 to 336 in `Info.plist`.
@johnste
Copy link
Owner

johnste commented Jan 28, 2025

This looks interesting! I'm about half way through a rewrite of Finicky, and I'll have a closer look at this in a bit.

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