Add native self-hosted instance connection to fluxer_desktop
Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 + tools/ci) with a "Connect to a Different Server" menu item and popout that lets the desktop app switch to any self-hosted Fluxer instance, plus fixes for well-known discovery on single-domain self-hosted deployments and a false-positive ERR_ABORTED on same-origin client redirects during the switch. Defaults to chat.fluxr.chat and uses an isolated userData directory from the official build.
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
[package]
|
||||
name = "fluxer_webauthn"
|
||||
version = "0.0.0"
|
||||
edition = "2024"
|
||||
license = "AGPL-3.0-or-later"
|
||||
publish = false
|
||||
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
napi = {version = "3.9.1", default-features = false, features = ["dyn-symbols", "napi8"]}
|
||||
napi-derive = "3.5.6"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
libfido2-sys = "0.5.1"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows = {version = "0.62.2", features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_Networking_WindowsWebServices",
|
||||
"Win32_System_Threading",
|
||||
"Win32_UI_WindowsAndMessaging",
|
||||
]}
|
||||
windows-core = "0.62.2"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
objc2 = "0.6"
|
||||
objc2-foundation = {version = "0.3", features = [
|
||||
"NSArray",
|
||||
"NSData",
|
||||
"NSDictionary",
|
||||
"NSError",
|
||||
"NSObject",
|
||||
"NSString",
|
||||
"NSThread",
|
||||
"NSValue",
|
||||
]}
|
||||
objc2-app-kit = {version = "0.3", features = [
|
||||
"NSApplication",
|
||||
"NSResponder",
|
||||
"NSWindow",
|
||||
]}
|
||||
objc2-authentication-services = {version = "0.3.2", features = [
|
||||
"ASAuthorization",
|
||||
"ASAuthorizationController",
|
||||
"ASAuthorizationCredential",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialAssertion",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialAssertionRequest",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialDescriptor",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialProvider",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialRegistration",
|
||||
"ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest",
|
||||
"ASAuthorizationProvider",
|
||||
"ASAuthorizationPublicKeyCredentialAssertion",
|
||||
"ASAuthorizationPublicKeyCredentialAssertionRequest",
|
||||
"ASAuthorizationPublicKeyCredentialConstants",
|
||||
"ASAuthorizationPublicKeyCredentialDescriptor",
|
||||
"ASAuthorizationPublicKeyCredentialParameters",
|
||||
"ASAuthorizationPublicKeyCredentialRegistration",
|
||||
"ASAuthorizationPublicKeyCredentialRegistrationRequest",
|
||||
"ASAuthorizationRequest",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialAssertion",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialProvider",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialRegistration",
|
||||
"ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest",
|
||||
"ASCOSEConstants",
|
||||
"ASFoundation",
|
||||
"ASPublicKeyCredential",
|
||||
]}
|
||||
dispatch2 = "0.3"
|
||||
|
||||
[build-dependencies]
|
||||
napi-build = "2.3.2"
|
||||
Reference in New Issue
Block a user