Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AjayKarthik2k opened this issue Feb 15, 2024 · 0 comments
Labels

Comments

@AjayKarthik2k
Copy link

AjayKarthik2k commented Feb 15, 2024

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

@AjayKarthik2k AjayKarthik2k changed the title Custom n Custom NSIS script included in electron.manifest.json, still not getting expected output Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant