Build remains stalled indefinitely when failing to infer icon
Description
I'm attempting to create a native wrapper for the target URL that screenshots generated by the Vysor Android tool get mapped to.
Steps to Reproduce Issue
run nativefier --name "Android Screenshots" "http://127.0.0.1:61099/device/10.0.1.74:5555/screenshot.jpg"
Process stalls at inferring/20%:

Specifications
- Version of Nativefier (run
$ nativefier --version):v7.2.0 - Version of Node.js (run
$ node --version):v7.9.0 - OS:
Mac OS 10.12.4
@bergatron thanks for the feedback! Two things:
- It's going to be tough for us to reproduce the issue give this is an internal development URL. Can you share here the result of
curl -i "http://127.0.0.1:61099/device/10.0.1.74:5555/screenshot.jpg" - Inferring of icon may be the culprit. In the meantime, can you manually pass it with the
--iconflag?nativefier --name "AndroidScreenshots" --icon /path/to/downloaded-icon.png "http://127.0.0.1:61099/device/10.0.1.74:5555/screenshot.jpg"
Hey @ronjouch! Here's the curl output. curl.txt
Good thinking - the process completed when I manually referenced the icon! Only glitch, the icon didn't get properly applied to the app (it's instead using a generic Mac OS app icon), but I assume that's a different issue with my image format.
@bergatron good to know my workaround, well, works around 🎺.
Regarding the icon not being applied, yeah we have a few like-minded open bugs: https://github.com/jiahaog/nativefier/issues/321 https://github.com/jiahaog/nativefier/issues/239 https://github.com/jiahaog/nativefier/issues/351 , and I'm not sure yet how duplicate/interleaved these issues are, and they're not all reproducible. So, any feedback / intuition / additional information welcome. Renaming and leaving the bug open.
Note to self or whoever works on this: add a timeout?
@bergatron It probably should be more obvious in the documentation, but could you try to run the same command with the --verbose flag again? Sorry about that ><
@ronjouch Yeah, the current progress bar is kinda buggy when there are errors, I'll look into it
This may be addressed by either #583 or #585.
Merged #583 thanks to @bacongravy . Closing, feel free to reopen if the problem persists.