AFFiNE/packages/common/infra
pengx17 0ae5673aaa
feat(electron): add offline mode (#8086)
fix AF-1334

It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250

implemented using an in-house solution.

When turned on:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6805735b-1006-4e51-be46-c047b0f1a82c.png)
2024-09-04 10:46:43 +00:00
..
src feat(electron): add offline mode (#8086) 2024-09-04 10:46:43 +00:00
package.json chore: bump bs (#8071) 2024-09-03 12:12:59 +00:00
tsconfig.json refactor(infra): no bundle infra (#5414) 2023-12-27 06:54:24 +00:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
typedoc.json docs: initial api reference docs (#5352) 2024-01-02 12:46:27 +00:00