Files
bmp-project/deployPaths.ts
syntaxbullet 99569d2cf3 initial commit
2026-05-13 17:26:13 +02:00

8 lines
230 B
TypeScript

import { join } from "node:path";
export const appDataDir = process.env.BMP_DATA_DIR;
export function dataPath(defaultPath: string, ...parts: string[]): string {
return appDataDir ? join(appDataDir, ...parts) : defaultPath;
}