Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anbang/lowdb-demo


https://github.com/anbang/lowdb-demo

Last synced: about 9 hours ago
JSON representation

Awesome Lists containing this project

README

        

# lowdb-demo

Force the computer to shut down or cut off the power, Data file will be corrupted

- Windows 7 / 10

### run

Reproduce step

```
npm install
npm run start
npm run build
```

### Reproduce step

1. Run the build package file
2. Find file (Reproduce step)
- create file:`C:\Users\Administrator\AppData\Roaming\lowdb-demo\ccc_data.json`
- **Keep the app open**
3. Force the computer to shut down or cut off the power

4. Restart the computer

5. Now the file is damaged
- `C:\Users\Administrator\AppData\Roaming\lowdb-demo\ccc_data.json`