Chrome 如何侧载“商店应用"?商店、Chrome、quot

2023-09-06 14:13:29 作者:终归陌路人

我的任务是为 Windows 8 编写一个简单的一次性 Metro/Windows 商店/现代 UI(无论您现在想怎么称呼它)应用程序;尝试将其放入商店是不合适的,因为我们只计划将其部署到大约 4 或 5 台设备上.我注意到,当我在机器上安装 Chrome 时,它​​以某种方式设法将自己的 Metro 版本潜入我的开始菜单.

I have been tasked with writing a simple one-time-use Metro/windows store/modern UI (whatever you want to call it now) app for windows 8; it wouldn't be appropriate to try to get it into the store, because we only plan on deploying it to about 4 or 5 devices. I noticed that when I installed Chrome on the machine, it somehow managed to sneak a metro version of itself into my start menu.

我不是寻找将 Metro 应用程序部署到另一台机器的方法,我已经可以通过多种方式(包括 add-appxpackage 和通过 Visual Studio 2012 的远程调试器工具)),我只是好奇 Chrome 是如何设法侧载 Metro 应用程序的,以及他们使用了什么进程.

I am not looking for a way to deploy a metro app to another machine, I can already do this a variety of ways (including add-appxpackage and via the remote debugger tools with visual studio 2012), I am only curious how Chrome managed to side-load a metro app, and what process they used.

有人有什么想法吗?

推荐答案

安装 Chrome 时,Windows 应用程序没有旁加载.浏览器得到特殊处理,默认浏览器(并且只有默认浏览器)如果实现了适当的功能,则可以充当 Windows 应用商店应用程序.

There was no side-loading of a Windows App when Chrome was installed. Browsers get special treatment, and the default browser (and only the default browser) can act as a Windows Store app if it implements the appropriate functionality.

在 MSDN 上有一份关于其工作原理的可下载白皮书:http://msdn.microsoft.com/en-us/library/windows/apps/hh465413.aspx

There is a downloadable white paper about how this works on MSDN: http://msdn.microsoft.com/en-us/library/windows/apps/hh465413.aspx