Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

fileExplorerLabel.ts

6 lines274 Bytes

1export function revealInFileExplorerLabel(platform: string): string {
2 const normalized = platform.toLowerCase();
3 if (normalized.includes("mac")) return "Reveal in Finder";
4 if (normalized.includes("win")) return "Reveal in File Explorer";
5 return "Reveal in Files";
6}