()
| 377 | } |
| 378 | |
| 379 | function notifyStorageSynced(): void { |
| 380 | BrowserWindow.getAllWindows().forEach((window) => { |
| 381 | window.webContents.send('system:storage-synced') |
| 382 | }) |
| 383 | } |
| 384 | |
| 385 | function createCodeCapture(body: CaptureRequest): CaptureResponse { |
| 386 | const storage = useStorage() |