cordova-electron
cordova-electron copied to clipboard
Imports modules in main electron process from cdv-electron-modules.json
Motivation and Context
This allow inject modules by plugins in main electron process for making IPC channel for communication between main and renderrer processes for example.
Codecov Report
Merging #135 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #135 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 14 14
Lines 612 612
=====================================
Hits 612 612
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 7af81cc...e00c252. Read the comment docs.
@zorn-v do you have a working setup on how to inject other files into the main process with the current version right now? Or are you adjusting cdv-electron-main.js manually?
I'm just use remote.app from renderer process
https://github.com/zorn-v/cordova-plugin-file/blob/655b0c15b4352a6007d2cd4795e9a7344b512254/src/electron/FileProxy.js#L32-L35