I am currently working on an installer for app made in electron, during the installation process i need to make simple POST request to verify credentials. I found that there is this inetc
plugin that can do it. However since i am using electron builder which comes with nsis i dont really know how to install that plugin within this environment.
So this is where i found the nsis source (i think):
node_modules\app-builder-lib\templates
and then this is what i already tried:
Plugins
directory from inetc package to (screen above) nsis directorybuild_msvc
fileat the end when i try to compile my app i always get error:
Plugin not found, cannot call inetc::post
How it is possible to install that plugin and use it?
I was experimenting with Anders answer however without much luck, then by utilising some git issue tracker and try - error method i figured out how its done for nsis with electron builder setup.
so these are the steps you take:
inetc
plugin and unpack it, then open Plugins
directory
electron
project directory, open build
directory
Plugins
directory from intec
into your project build
location
At this point you are good to go and you can use inetc
functionality inside your installer.nsh
file.