I'm currently using active-win in an electron app using electron-builder.
I already had the issue of Windows builds breaking because of a mismatched node version, but that was solved by adding
postinstall: electron-builder install-app-deps instead of electron-rebuild.
But its intermittently importing active-win from app.asar/node_module/active-win instead of app.asar.unpacked/node_module/active-win (though in the app.asar.unpacked folder does have active-win)
Any ideas of using electron-builder instead of electron-rebuild?
I'm currently using active-win in an electron app using electron-builder. I already had the issue of Windows builds breaking because of a mismatched node version, but that was solved by adding
postinstall: electron-builder install-app-deps
instead ofelectron-rebuild
.But its intermittently importing active-win from
app.asar/node_module/active-win
instead ofapp.asar.unpacked/node_module/active-win
(though in the app.asar.unpacked folder does have active-win)Any ideas of using
electron-builder
instead ofelectron-rebuild
?