Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

323 B
Raw Blame
import { join } from "node:path";
import type { Environment } from "../render/capabilities.js";

export function configPath(env: Environment, home: string): string {
  if (env.KANEO_CONFIG) return env.KANEO_CONFIG;
  const base = env.XDG_CONFIG_HOME || join(home, ".config");
  return join(base, "kaneo", "config.json");
}