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:
+30
@@ -0,0 +1,30 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
export interface CreateShortcutOptions {
|
||||
lnkPath: string;
|
||||
target: string;
|
||||
args?: string;
|
||||
appUserModelId?: string;
|
||||
toastActivatorClsid?: string;
|
||||
iconPath?: string;
|
||||
iconIndex?: number;
|
||||
workingDir?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface SetRunValueOptions {
|
||||
name: string;
|
||||
command: string;
|
||||
}
|
||||
|
||||
export declare function createShortcut(opts: CreateShortcutOptions): Promise<void>;
|
||||
|
||||
export declare function setCurrentUserRunValue(opts: SetRunValueOptions): Promise<void>;
|
||||
|
||||
export declare function deleteCurrentUserRunValue(name: string): Promise<void>;
|
||||
|
||||
export declare function getCurrentUserRunValue(name: string): Promise<string | null>;
|
||||
|
||||
export declare function getUserNotificationState(): string;
|
||||
|
||||
export declare const loadError: Error | null;
|
||||
Reference in New Issue
Block a user