How to publish HTML5 game in Chrome Web Store

佐手、 提交于 2019-12-11 05:19:06

问题


I have my HTML5 game hosted in www.mygame.com and I followed on this doc the result show only visit website button in Chrome web store:

The question is how to add my game shortcut in chrome://apps/ and when users click on game icon will link to www.mygame.com

This is my 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"]
}

回答1:


What you have created is a Hosted App in Chrome's terminology.

Hosted Apps (and other Chrome Apps as well) are deprecated on platforms other than Chrome OS, which would explain what you're seeing.

Note that at an unspecified date in 2017, those listings will simply disappear from CWS for other platforms.

Google's official position is "transition to Progressive Web Apps".



来源:https://stackoverflow.com/questions/45083171/how-to-publish-html5-game-in-chrome-web-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!