get-windows icon indicating copy to clipboard operation
get-windows copied to clipboard

active-win is getting the incorrect path on Windows electron build

Open whaleprophet opened this issue 2 years ago • 0 comments

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?

whaleprophet avatar Apr 05 '22 19:04 whaleprophet