如何在Chrome网上应用店发布HTML5游戏 [英] How to publish HTML5 game in Chrome Web Store
问题描述
我在www.mygame.com上托管了我的HTML5游戏,并且在
问题是如何在chrome中添加我的游戏快捷方式:// apps /以及当用户点击游戏图标时将链接到www.mygame.com
这是我的 manifest.json
:
{
manifest_version:2,
name:Math Booster,
description:尝试在短时间内解决基本数学问题,
version:1.1,
图标:{
16:icon16.png,
48:icon48.png,
128:icon128.png
},
app:{
urls:[
http://photogap.me/mathbooster
,
launch:{
web_url:http://photogap.me/mathbooster
}
},
权限:[unlimitedStorage,notifications]
}
您使用Chrome的术语创建了托管应用程序。
托管应用(以及其他Chrome应用)也是在Chrome OS以外的平台上已弃用,这可以解释您所看到的内容。
请注意,在2017年的一个未指定的日期,这些列表将简单地从CWS消失,为其他平台。
Google的官方位置是过渡到 Progressive Web Apps 。
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"]
}
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".
这篇关于如何在Chrome网上应用店发布HTML5游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!