0

I have an electron app with auto updater working perfectly. I'm able to release a new version and have it auto download and run the latest version. All works great. Now, I also have NSSM running to always make sure that my executable is always running.

However, this is also where the issue is. Because NSSM is always keeping my exe running, it's hard to update it when a new version is available. I'm assuming I'd have to stop NSSM first and then have the exe update itself and then somehow start NSSM remotely again.

How is everyone handling this whole process? Are you somehow handling this in your executable or have another process that handles this? Has anyone been able to do this successfully? I'm having hard time making this work. Just looking for some ideas here.

Am I even going about this the right way or is there any better way to handle this?

Saumil Shah
  • 1,383
  • 2
  • 11
  • 20

0 Answers0