feat(FN-3399): route desktop remote mode into shell onboarding flow

Removes the standalone `DesktopShellBootstrap` component from the desktop package, routing desktop remote mode into the shell onboarding flow instead. Updates the corresponding test file to reflect the component removal and adjusts the README.

Fusion-Task-Id: FN-3399
This commit is contained in:
Fusion
2026-05-04 22:53:57 -07:00
committed by gsxdsm
parent 8565cdcff7
commit f7995bd4e7
22 changed files with 521 additions and 40 deletions

View File

@@ -14,7 +14,7 @@ import {
import { setupTray } from "./tray.js";
import { getRendererUrl, getRendererFilePath, isUrlRenderer } from "./renderer.js";
import { DesktopLocalServerManager } from "./local-server.js";
import { readShellSettings } from "./shell-settings.js";
import { getDesktopShellModeState, readShellSettings } from "./shell-settings.js";
// Re-export for backward compatibility
export { IS_DEVELOPMENT } from "./renderer.js";
@@ -115,7 +115,8 @@ export async function initializeApp(): Promise<void> {
setupAutoUpdater(createdWindow);
const shellSettings = await readShellSettings();
if (shellSettings.desktopMode === "local") {
const desktopModeState = getDesktopShellModeState(shellSettings);
if (!desktopModeState.isFirstRun && desktopModeState.desktopMode === "local") {
await localServerManager.start();
}