mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
* [AI] Fix navigator is not defined error in @actual-app/api for Node.js environments Add platform.api.ts to provide Node.js-safe defaults for platform detection, which the API's Vite config resolves before the browser-only platform.ts. Also guard navigator access in environment.ts isElectron() function. Fixes #7201 https://claude.ai/code/session_015Xz2nHC12pNkADGjGZnSXd * Add release notes for PR #7202 --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 lines
241 B
TypeScript
8 lines
241 B
TypeScript
export const isPlaywright = false;
|
|
|
|
export const OS: 'windows' | 'mac' | 'linux' | 'unknown' = 'unknown';
|
|
export const env: 'web' | 'mobile' | 'unknown' = 'unknown';
|
|
export const isBrowser: boolean = false;
|
|
|
|
export const isIOSAgent = false;
|