[TEST] add data sync
This commit is contained in:
parent
944d8f86c2
commit
8e3512b5cd
16 changed files with 1935 additions and 5 deletions
|
|
@ -13,6 +13,7 @@ const { extractIconFromExe } = require('../icons')
|
|||
const { createGamesService, sendToWindow } = require('./games')
|
||||
const shortcuts = require('../shortcuts')
|
||||
const openwith = require('../openwith')
|
||||
const { registerLanSyncIpc } = require('./lansync')
|
||||
|
||||
const ICON_EXTS = ['png', 'jpe?g', 'svg', 'ico', 'webp', 'gif', 'bmp']
|
||||
|
||||
|
|
@ -229,6 +230,9 @@ function registerIpc({ getWindow, onGamesChanged }) {
|
|||
}
|
||||
})
|
||||
|
||||
// lan syncing ---------------------------------------------------------------------------------
|
||||
registerLanSyncIpc({ getWindow })
|
||||
|
||||
// dialogs & shell ---------------------------------------------------------------------------
|
||||
ipcMain.handle('dialog:pickFile', async (e, opts) => {
|
||||
const o = { ...(opts || {}) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue