Closed xiaoxiangmoe closed 3 years ago
This happens because the drivelist hasn't been made non-context-aware.
Changing NODE_MODULE(DriveList, tInitAll)
to NAN_MODULE_WORKER_ENABLED(DriveList, tInitAll)
in drivelist.cpp
should fix the problem.
fixed in #378
(node:82420) Electron: Loading non-context-aware native module in renderer: '/Users/foo/repos/app/node_modules/drivelist/build/Release/drivelist.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.