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.
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[package]
|
|
name = "fluxer_game_hook"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
# `retour` only ships x86/x86_64 trampoline + patcher backends (its `arch`
|
|
# module has no aarch64 variant), so it does not even compile for
|
|
# aarch64-pc-windows-msvc. Gate it to the architectures it supports; the
|
|
# aarch64 hook uses the in-crate `inline_hook::aarch64` backend instead.
|
|
[target.'cfg(all(target_os = "windows", any(target_arch = "x86", target_arch = "x86_64")))'.dependencies]
|
|
retour = "0.4.0-alpha.4"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = {version = "0.62.2", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Direct3D",
|
|
"Win32_Graphics_Direct3D9",
|
|
"Win32_Graphics_Direct3D10",
|
|
"Win32_Graphics_Direct3D11",
|
|
"Win32_Graphics_Direct3D11on12",
|
|
"Win32_Graphics_Direct3D12",
|
|
"Win32_Graphics_Dxgi",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Gdi",
|
|
]}
|
|
windows-sys = {version = "0.61.2", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Graphics_OpenGL",
|
|
"Win32_Security",
|
|
"Win32_System_Diagnostics_Debug",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Memory",
|
|
"Win32_System_Performance",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
]}
|