dsheiko/nw-autoupdater

App does not swap when built with https://github.com/evshiron/nwjs-builder-phoenix

Ajeey opened this issue · 4 comments

Ajeey commented

Hi,

The app does not swap when I use https://github.com/evshiron/nwjs-builder-phoenix to build.

I get a message saying - "The application will automatically restart to finish installing the update"

And it does not relaunch after pressing "ok"

How do I check the logs or any information on this?

P.S Is this update library compatible with https://github.com/evshiron/nwjs-builder-phoenix ?

Hi
@Ajeey I was having the same problem with my application as I understand it could be due to a bug generated by using the restartToSwap function which app = join (updateDir, executable), binds the executable directory to the update directory file, but the problem is when the unpack (zip, tar) generates an additional directory in the updateDir with the name of the zip or tar package that creates a directory problem ERROR: Error: spawn / tmp / nw-autoupdater / {executable} ENOENT

The fix verified and published to NPM as v.1.1.3

This issue remains opened or could be closed?