2018-04-24から1日間の記事一覧
意外と簡単に書けるので、面倒くさがらずに書くとすぐです。 レンダラ側 document.getElementById('saveButton').addEventListener('click', () => { ipcRenderer.send('save-state', JSON.stringify(state)); }); メイン側 ipcMain.on('save-state', (event…
意外と簡単に書けるので、面倒くさがらずに書くとすぐです。 レンダラ側 document.getElementById('saveButton').addEventListener('click', () => { ipcRenderer.send('save-state', JSON.stringify(state)); }); メイン側 ipcMain.on('save-state', (event…