Can I use electron api in .js ?
Closed this issue · 1 comments
Sciroccogti commented
I just don't know how to use electron APIs in index.js
, such as nativeTheme
.
Thank you for your great project!
Sciroccogti commented
It turns out to be quite simple...
const nativeTheme = require('electron')