自定义扩展在受管理的Chromebook上 [英] Custom Extensions on Managed Chromebooks

查看:124
本文介绍了自定义扩展在受管理的Chromebook上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一位开发人员,希望通过他们自己定制的私人分机设置不同学校的最佳方式(即学校A应该是唯一可以使用分机A的学校)。理论上,我知道有几种方法可以在域中推出自定义的私有扩展:

.crx ,然后在管理控制台中单击指定自定义应用程序。
  • 通过将zip文件上传到Chrome网上应用店来创建域应用

  • 从我的开发者帐户上传扩展名到Chrome网上应用店并发布到一个受信任的测试人员,或将其不公开

    选项(1),托管.crx,尚未运行。我不知道为什么,但延伸是根本没有推出。我直接链接到crx文件,它具有正确的ID和MIME类型,仍然没有骰子。如果任何人有任何提示或建议,以获得此工作,我很乐意听到他们!



    选项(2),有学校创建一个域名应用程序,似乎有点低效,因为它需要所有学校上传自己的zip。所以基本上我必须将一个zip文件发送给学校,并让他们发布它。对扩展程序的所有更新也需要类似的过程,所以这似乎并不理想。



    我怀疑 option(3)会工作。如果我作为可​​信测试者发布给管理员,我认为域中的其他人不能访问它。如果未列出,我不知道管理员如何在Chrome网上应用店对话框中找到它。



    有没有人成功托管扩展程序并使用指定自定义应用程序功能?获取管理控制台推出的自定义扩展的其他建议?非常感谢!

    解决方案

    要从管理控制台获取选项(1),指定正确的扩展名非常重要和一个有效的更新xml url(不是crx)。

    Google提供的一个有用的功能是您可以使用获取更新请求中的扩展名和版本。例如,您可以创建一个update.php文件,该文件输出特定于每个扩展名和版本的xml文件。 请参阅高级下的 http://developer.chrome.com/extensions/autoupdate.html 用法。



    有关打包托管Chromebook的应用或扩展程序的详细信息,请参阅 https://support.google.com/chrome/a/answer/2714278?hl=zh_CN


    I am a developer looking for the best way to set up different schools with their own custom, private extensions (ie School A should be the only one with access to Extension A). Theoretically, I am aware that there are a few ways to get a custom, private extension pushed out on a domain:

    1. Host the .crx on a server and click "Specify a Custom App" in the management console.
    2. Create a Domain App by uploading a zip to the Chrome Web Store
    3. Upload the extension from my developer account to the Chrome Web Store and publish to a single "trusted tester," or make it unlisted

    Option (1), hosting the .crx, has not been working. I am not sure why, but the extension is simply not pushing out. I link directly to the crx file, which has the right ID and MIME type, still, no dice. If anyone has any tips or suggestions for getting this to work, I would love to hear them!

    Option (2), having the school create a domain app, seems a bit inefficient because it requires all schools to upload their own zip. So essentially I would have to email a zip file to the school, and have them publish it. All updates to the extension will also require a similar process, so this doesn't seem ideal.

    I doubt that option (3) would work. If I published to the admin as a "trusted tester", I don't think that the other people in the domain would be able to access it. If it is unlisted, I do not know how an admin could find it in the Chrome Web Store dialog. Also, I would rather avoid security through obscurity.

    Has anyone had success with hosting the extension and using the Specify a Custom App feature? Any other suggestions for getting a Custom Extension pushed out by the management console? Thanks so much!

    解决方案

    To get option (1) working from the management console, it is important to specify the correct extension id and a valid update xml url (not a crx).

    One useful feature Google offers that you can use is getting the extension id and the version from the update request.

    For instance, you can create a update.php file that outputs an xml file specific to each extension and version. See http://developer.chrome.com/extensions/autoupdate.html under "Advanced Usage".

    For more info on packaging an app or extension for managed chromebooks, see https://support.google.com/chrome/a/answer/2714278?hl=en.

    这篇关于自定义扩展在受管理的Chromebook上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆