code refactor & sync bugfixes
This commit is contained in:
parent
2bcb47076a
commit
9edcc9841b
20 changed files with 820 additions and 812 deletions
|
|
@ -19,6 +19,10 @@ function registerLanSyncIpc({ getWindow }) {
|
|||
lansync.forgetDevice(id)
|
||||
return { ok: true }
|
||||
})
|
||||
ipcMain.handle('lansync:clearHashCache', () => {
|
||||
lansync.clearHashCache()
|
||||
return { ok: true }
|
||||
})
|
||||
ipcMain.handle('lansync:respondIncoming', (e, requestId, accept) => lansync.respondIncoming(requestId, accept))
|
||||
ipcMain.handle('lansync:sync', async (e, payload) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue