Files
AFFiNE-Mirror/packages/frontend/electron/src/main/constants.ts
T
Cats Juice 15dd20ef48 feat(electron): onboarding at first launch logic for client and web (#5183)
- Added a simple abstraction of persistent storage class.
- Different persistence solutions are provided for web and client.
    - web: stored in localStorage
    - client: stored in the application directory as `.json` file
- Define persistent app-config schema
- Add a new hook that can interactive with persistent-app-config reactively
2023-12-19 07:17:54 +00:00

2 lines
74 B
TypeScript

export const mainWindowOrigin = process.env.DEV_SERVER_URL || 'file://.';