【问题标题】:How to publish HTML5 game in Chrome Web Store如何在 Chrome 网上应用店中发布 HTML5 游戏
【发布时间】:2017-07-13 14:10:33
【问题描述】:

我在 www.mygame.com 上托管了我的 HTML5 游戏,我关注了这个 doc 结果显示 Chrome 网上商店中的仅访问网站按钮:

问题是如何在 chrome://apps/ 中添加我的游戏快捷方式,当用户点击游戏图标时会链接到 www.mygame.com

这是我的manifest.json

{
    "manifest_version": 2,
    "name": "Math Booster",
    "description": "Try to solve basic math in short time",
    "version": "1.1",
    "icons": { 
        "16": "icon16.png",
        "48": "icon48.png",
        "128": "icon128.png"
    },
    "app": {
        "urls": [
            "http://photogap.me/mathbooster"
        ],
        "launch": {
            "web_url": "http://photogap.me/mathbooster"
        }
    },
    "permissions": ["unlimitedStorage","notifications"]
}

【问题讨论】:

标签: google-chrome google-chrome-app chrome-web-store manifest.json


【解决方案1】:

您创建的是 Chrome 术语中的 Hosted App

托管应用程序(以及其他 Chrome 应用程序)为 deprecated on platforms other than Chrome OS,这将解释您所看到的内容。

请注意,在 2017 年的某个未指定日期,这些列表将直接从其他平台的 CWS 中消失。

谷歌的官方立场是“过渡到Progressive Web Apps”。

【讨论】:

  • (将其发布为作为规范重复目标的答案)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-07-25
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多