Skip to content

Adapt electron-deeplink code as an interface for our app #59

Description

@reynoldsalec

Our goal is to have a unified way to listen for deeplink requests across all operating systems. To have that work, we need to disable the bindings that the electron-deeplink package makes on MacOS (darwin), since Electron now handles those natively and it breaks our dev build.

  1. Copy the main index.ts
  2. Convert to javascript
  3. Remove the electronDeepLink const and anything referencing it.
  4. Try requiring this new file as Deeplink in our app's backend main.js...this may just work. If it doesn't, I'm guessing we'll want to vendorize the entirety of electron-deeplink

Eventually the maintainer of electron-deeplink will be implementing something similar, so in the future we may be able to use the stock electron-deeplink package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions