Skip to content
Discussion options

You must be logged in to vote

The Better Auth server can run in Deno, but @better-auth/electron is not a drop-in Deno Desktop client. Its client/main/preload pieces import Electron and provide Electron-specific protocol registration, IPC, secure storage, and browser launching.

There is also an important Deno Desktop limitation at the moment. You can register a scheme in deno.json:

{
  "desktop": {
    "app": {
      "deepLinks": ["com.example.app"]
    }
  }
}

However, current Deno main only writes the OS registration metadata. The implementation explicitly says that delivering the opened URL to the running app, single-instance forwarding, and the JavaScript open-url event are tracked separately: cli/tools/desktop.rs.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tigawanna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants