【问题标题】:Converting Chrome app manifest from V1 to v2将 Chrome 应用清单从 V1 转换为 v2
【发布时间】:2012-08-04 11:56:58
【问题描述】:

我已经使用代码在清单版本 1 中制作了一个 chrome 应用程序:

 {
"name": "J-Tech",
"version": "2",
"icons": { "128": "icon.png" },
"app": {
"urls": [
"http://www.j-tech-web.co.uk"
],
"launch": {
"web_url": "http://www.j-tech-web.co.uk"
}
}
}

我找不到一个教程来让我进入我的网站,谁能告诉我怎么做

【问题讨论】:

    标签: json google-chrome web-applications google-chrome-extension manifest


    【解决方案1】:

    这应该可行

         {
        "name": "J-Tech",
        "description": "sample Text",
        "version": "2",
        "manifest_version": "2",
        "icons": 
        {
            "128": "icon.png"
        },
    
        "app":
        {
            "urls": 
        [
                "http://www.j-tech-web.co.uk"
            ],
    
            "launch": 
        {
                "web_url": "http://www.j-tech-web.co.uk"
            }
        },
    
        "permissions": 
        [
    
        ]
    }
    

    【讨论】:

    • 请解释一下错误是什么以及您的代码修复它的原因。
    猜你喜欢
    • 2018-10-15
    • 1970-01-01
    • 2021-11-13
    • 2021-11-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-03
    相关资源
    最近更新 更多