Files
hyperframes/packages/cli/src/utils/windowsAppData.ts
T
Miguel Ángel 74905aeff6 fix(cli): Windows preview and catch-up records move to LOCALAPPDATA, a refused log no longer blocks (#6461)
* fix(cli): Windows preview and catch-up records move to LOCALAPPDATA, a refused log no longer blocks

* fix(cli): a refused preview log falls back to the null device and drops the extra comments

* fix(cli): Windows catch-up record goes under LOCALAPPDATA/hyperframes like the other records
2026-10-26 15:27:54 -04:00

6 lines
172 B
TypeScript

export function windowsLocalAppData(): string | undefined {
return process.platform === "win32"
? process.env["LOCALAPPDATA"]?.trim() || undefined
: undefined;
}