Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

274 B
Raw Blame
export function shouldShowAppMenubar(): boolean {
  if (typeof window === 'undefined') return false;
  const bridge = window.okDesktop;
  return (
    bridge != null &&
    bridge.menu != null &&
    bridge.platform !== 'darwin' &&
    bridge.config?.mode !== 'note'
  );
}