ElectronNET / Electron.NET

:electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).

Home Page:https://gitter.im/ElectronNET/community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom NSIS script included in electron.manifest.json, still not getting expected output

AjayKarthik2k opened this issue · comments

I am using ElectronNET to create an desktop application from my dotnet react project. My primary aim is to backup the application if I am going to update to a newer version, and as per the docs which says that we can include a custom nsis script to customize the installer.

To check this feature I prepared an example script by seeing the electron builder docs.

My script looks like this :
image

My build section in electron.manifest.json looks like this :
image

As per the script, I think that it should create files in the $PROJECT_DIR. But I am not getting anything. Am I missing something, or I am just not connecting the dots right?

Thanks in advance!

P.S : I am also confused about where these variables $BUILD_RESOURCES_DIR and $PROJECT_DIR point to