Skip to content

v2.1.8 - Windows support for API usage widgets

Choose a tag to compare

@pcvelz pcvelz released this 26 Feb 11:24
· 720 commits to main since this release

Windows compatibility for API usage widgets

API usage widgets (Session, Weekly, Reset Timer) now work on Windows by using os.homedir() instead of process.env.HOME for credential and cache file paths.

process.env.HOME is undefined on Windows — os.homedir() returns the correct home directory cross-platform (macOS, Linux, Windows).

Credit to @zac15987 for the Windows snippet that confirmed the approach.

Upstream sync (2 commits)

  • Fix for test failures when testing with vitest, remove test script from package.json
  • README updates