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:
2026-07-01 18:22:43 -04:00
commit 682afacd30
1763 changed files with 613720 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Statically link the Microsoft C/C++ runtime into every native Rust addon we
# ship on Windows. Without this, the .node imports VCRUNTIME140.dll and the
# msvcp/msvcr family, which require the VC++ 2015-2022 redistributable to be
# installed system-wide. Fresh Windows boxes (and Windows IoT / LTSC variants)
# don't have it, so dlopen fails with ERR_DLOPEN_FAILED "The specified module
# could not be found." even though the .node file itself is present.
#
# +crt-static makes the runtime part of the .node itself. Universal CRT API
# sets (api-ms-win-crt-*.dll) are guaranteed present on Windows 10+ and remain
# dynamic; only the VC++-specific layer goes static.
#
# Scoped per-target so Linux and macOS builds are unaffected. Cargo walks
# parent directories looking for `.cargo/config.toml`, so this file applies to
# every crate under `fluxer_desktop/native/` even though each addon has its
# own `[workspace]`.
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
# 32-bit injected game-capture hook/layer (for capturing 32-bit games from the
# 64-bit app). Same rationale: the DLL is LoadLibrary'd into an arbitrary game
# process that may not have the 32-bit VC++ redistributable, so the runtime
# must be static.
[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]