Skip to content

Commit

Permalink
feat: auto open browser if receive auth_url
Browse files Browse the repository at this point in the history
  • Loading branch information
reyamir committed Nov 7, 2024
1 parent ece6bcc commit 0cb491e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
44 changes: 36 additions & 8 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ keyring = { version = "3", features = ["apple-native", "windows-native"] }
keyring-search = { git = "https://github.com/reyamir/keyring-search" }
tracing-subscriber = { version = "0.3.18", features = ["fmt"] }

[patch.'https://github.com/rust-nostr/nostr']
nostr-sdk = { git = "https://github.com/reyamir/nostr", branch = "feat/open-auth-url", features = ["lmdb", "webln", "all-nips"] }
nostr-connect = { git = "https://github.com/reyamir/nostr", branch = "feat/open-auth-url" }

[target.'cfg(target_os = "macos")'.dependencies]
border = { git = "https://github.com/ahkohd/tauri-toolkit", branch = "v2" }
share-picker = { git = "https://github.com/ahkohd/tauri-toolkit", branch = "v2" }
Expand Down
2 changes: 0 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,6 @@ fn main() {
) {
println!("Emit error: {}", e)
}
} else if event.kind == Kind::JobResult(6300) {
println!("Job result: {}", event.as_json())
}
}
}
Expand Down

0 comments on commit 0cb491e

Please sign in to comment.