electron / fiddle

:electron: 🚀 The easiest way to get started with Electron
https://electronjs.org/fiddle
MIT License
7.45k stars 692 forks source link

chore: add show-me for `utilityProcess` #1651

Closed codebytere closed 1 week ago

codebytere commented 1 week ago

Closes https://github.com/electron/fiddle/issues/1649.

Screenshot 2024-11-19 at 11 11 08 AM
coveralls commented 1 week ago

Coverage Status

coverage: 87.604%. remained the same when pulling 3dc26d69fd72dbc421a1d6bef1294f5654c09ea6 on add-utilityprocess-example into 7a37cd9ae2efc05eb885709eefd0869713ced3a2 on main.

algogrit commented 2 days ago

Thanks for adding this example.

From the documentation, or even this fiddle it's not clear how to package the utlityProcess file: child.js. There is a magic static directory here, but it wouldn't be the same for elect-react like templates.

algogrit commented 2 days ago

Should I create a separate issue for this repo? I have created one in the boilerplate repo: https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues/3664.