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

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

Open
Ajeey opened this issue Sep 8, 2017 · 4 comments

Comments

@Ajeey
Copy link

Ajeey commented Sep 8, 2017

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 ?

@geolffreym
Copy link
Contributor

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

@geolffreym
Copy link
Contributor

07d837d

@dsheiko
Copy link
Owner

dsheiko commented Oct 4, 2017

The fix verified and published to NPM as v.1.1.3

@victoroliveira
Copy link

This issue remains opened or could be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants