I am using electron-builder to package my electron app.
My app has a CLI module, so what I need is:
- After I finish installing the application (using allowToChangeInstallationDirectory: true), I need to add the install location to the PATH variable.
I can't find anything on this but this question Adding electron application path to user environment variables after install, which doesn't have a viable answer