6 lines · 274 B · TypeScript
RawDownload
export function revealInFileExplorerLabel(platform: string): string {  const normalized = platform.toLowerCase();  if (normalized.includes("mac")) return "Reveal in Finder";  if (normalized.includes("win")) return "Reveal in File Explorer";  return "Reveal in Files";}