↧
Answer by Erveon for Electron: Using a module in the main process
Found the answer,the proper way to use a module through the main process would be to use this:require('electron').remote.require('connection');
View ArticleElectron: Using a module in the main process
I'm trying to use a module I made myself in the main process in Electron,but for some reason it doesn't work as intended (at all).In the main process (main.js), I define the moduleconst connection =...
View Article