1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +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),
};