1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-desktop/utils/window/secondaryWindowPreload.js

6 lines
157 B
JavaScript
Raw Normal View History

const { ipcRenderer } = require('electron');
window.electronWindow = {
onSetWindowId: windowId => ipcRenderer.send('secondary-window-added', windowId),
};