Repository navigation
v2.1.8 - Windows support for API usage widgets
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
testscript from package.json - README updates