<div dir="ltr">Hi James,<div><br></div><div>Thanks for your reply. Yeah, it could be reason for it. I used to have a Qt project, and the app was launched by desktop-launch:</div><div><br></div><div><a href="https://github.com/liu-xiao-guo/rssreader_platform">https://github.com/liu-xiao-guo/rssreader_platform</a><br></div><div><br></div><div>For my case, it is a html5 app. I do not know what is the correct way to launch the app. Do you know what should be set up correctly? I may have my own script to set them up.</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 12:02 PM, James Henstridge <span dir="ltr"><<a href="mailto:james.henstridge@canonical.com" target="_blank">james.henstridge@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9 February 2017 at 10:43, XiaoGuo Liu <<a href="mailto:xiaoguo.liu@canonical.com">xiaoguo.liu@canonical.com</a>> wrote:<br>
> I am now trying to snap a html5 webapp. My source code is here at:<br>
><br>
> <a href="https://github.com/liu-xiao-guo/wuziqi" rel="noreferrer" target="_blank">https://github.com/liu-xiao-<wbr>guo/wuziqi</a><br>
<br>
</span>Looking at the snapcraft.yaml file, you don't seem to be using the<br>
launcher shell script provided by the part.  Without that,<br>
LD_LIBRARY_PATH and other environment variables won't be set up<br>
correctly to use libraries provided by ubuntu-app-platform.<br>
<span class="HOEnZb"><font color="#888888"><br>
James.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</div>