Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

254 B
Raw Blame
import { homedir } from 'node:os';
import { join } from 'node:path';
import { currentDesktopProduct } from './product.ts';

export function okUserHomeDir(home: string = homedir()): string {
  return join(home, currentDesktopProduct().userHomeDirName);
}