1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages/app-desktop/utils/window/secondaryWindowPreload.js
Henry Heino 4a88d6ff7a
Desktop: Multiple window support (#11181)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
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),
};