// Injected by the bun process via BrowserWindow preload before any page script. declare global { interface Window { __BUNSCP_PLATFORM?: string; } } export const PLATFORM = typeof window !== 'undefined' ? (window.__BUNSCP_PLATFORM ?? '') : ''; /** True when the window uses macOS hiddenInset chrome (tab bar fused with titlebar). */ export const IS_MAC_CHROME = PLATFORM === 'darwin';