Chrome 网上商店 - 我在 google chrome 网上商店发布了扩展程序但显示不兼容?

Chrome Web Store - i published extension in google chrome web store but showing incompatible?

当我上传到 Google chrome 网上商店时显示相同的扩展名,它说不兼容。

但是使用 Chromium 或 Google chrome 当我从本地目录手动加载相同的扩展时,它可以工作。扩展应该适用于 Windows 和 OSX 但它说 Chromium OS only

我怎么知道它不仅适用于 Chromium OS?

{ 
  "name" : “DEBUG - USB”,
  "version" : "1.0.1",
  "description" : "USB 2.0 connect”,
  "externally_connectable": {
    "matches": [
      “*://*.site.com/*”,
    ]
  }, 
  "app": {
    "background": {
      "scripts": [ "background.js" ]
    }
  },   
  "permissions" : [ 
    "serial",
    “*://*.site.com/*”,
  ],
  "manifest_version": 2
}

How do i tell its not only for Chromium OS?

你不知道。这是 Chrome 应用程序的清单 - as per deprecation policy 新应用程序只能在 Chrome OS 上使用,这是唯一官方支持的平台。

Starting in late 2016, newly-published Chrome apps will only be available to users on Chrome OS. Existing Chrome apps will remain accessible on all platforms, and developers can continue to update them. In the second half of 2017, the Chrome Web Store will no longer show Chrome apps on Windows, Mac, and Linux, but will continue to surface extensions and themes. In early 2018, users on these platforms will no longer be able to load Chrome apps.

因为你使用的是serial权限,而且没有等价的extension/webAPI,你不能切换到扩展,所以基本上不行,你不能使用 CWS 分发。

请注意,您可能可以使用 Native Messaging 在扩展中复制功能,但这会使部署复杂化(CWS 不会托管您的本机主机组件)。