// file: crates/ksp-app-config-desk/frontend/ts/splash.ts // version: 2 import { getCurrentWindow } from "@tauri-apps/api/window"; import { frontendInfo, installFrontendConsoleBridge } from "./frontend_log"; installFrontendConsoleBridge("splash"); document.addEventListener("DOMContentLoaded", () => { const windowLabel = getCurrentWindow().label; const status = document.querySelector("#splash-status"); if (status) { status.textContent = `Frontend chargé dans la fenêtre '${windowLabel}'. Lifecycle complet prévu en pre.008.`; } frontendInfo("splash", "Config Desk splash frontend loaded", { windowLabel }); });