<div dir="ltr">Hi Michael,<div><br></div><div>Thanks for your explanation. Now, I get the idea of it though it is a little bit confusing initially.</div><div><br></div><div>Best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 9:20 AM, Michael Nelson <span dir="ltr"><<a href="mailto:michael.nelson@canonical.com" target="_blank">michael.nelson@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><span class=""><div dir="ltr">On Mon, Jul 25, 2016 at 11:12 AM XiaoGuo Liu <<a href="mailto:xiaoguo.liu@canonical.com" target="_blank">xiaoguo.liu@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>If I use "--devmode" when installing a snap application, do I have to define  "confinement"  in snapcraft.yaml to be ""devmode" exactly. What happens if I defined "confinement" to be "strict"? </div><div><br></div><div>The combination is as follows:</div><div><br></div><div>- confinement: strict</div><div>- installation: --devmode</div></div></blockquote><div><br></div></span><div>Using confinement: strict tells the store that it's OK to return this package as a result of `snap find` for users to install. Which means, if it doesn't work unless you use --devmode, you might have unhappy users :/<br><br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>- confinement: devmode</div><div>- installation: --devmode</div></div></blockquote><div><br></div></span><div>Using confinement: devmode tells the store that this package should *not* be included in results of `snap find`. You (and any users who know) will still be able to `snap install --devmode` it, but it's not provided to general users via snap find/install.<br><br></div><div>Hope that helps <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo<br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: <a href="tel:%2B86-13911181302" value="+8613911181302" target="_blank">+86-13911181302</a></div></div></div>
</div></div></span><span class="HOEnZb"><font color="#888888">
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.ubuntu.com" target="_blank">Snapcraft@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br>
</font></span></blockquote></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: +86-13911181302</div></div></div>
</div>