1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-06 23:56:13 +02:00
Files
joplin/packages/app-desktop/utils/window/secondaryWindowPreload.js
2024-11-08 15:32:05 +00:00

6 lines
157 B
JavaScript

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