Skip to content

Commit 109919b

Browse files
authored
Merge pull request #15 from chromeos/extension_update_manifest
Add extension update manifest
2 parents ac8437c + 2151fad commit 109919b

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
tag: ${{ steps.tag_version.outputs.new_tag }}
5555
name: Release ${{ steps.tag_version.outputs.new_tag }}
5656
body: ${{ steps.tag_version.outputs.changelog }}
57-
artifacts: './dist/iwa-sink.swbn,./update.json,./extension/IwaKitchenSinkExtension.crx'
57+
artifacts: './dist/iwa-sink.swbn,./update.json,./extension/IwaKitchenSinkExtension.crx,./extension/manifest.xml'

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ If you want to try installing this through the Admin panel, use the following in
1515

1616
- **Bundle ID** - `aiv4bxauvcu3zvbu6r5yynoh4atkzqqaoeof5mwz54b4zfywcrjuoaacai`
1717
- **Update URL** - `https://github.com/chromeos/iwa-sink/releases/latest/download/update.json`
18+
19+
## Companion extension
20+
You can find a basic companion Chrome extension in the `extension` folder. The extension uses the [chrome.identity API](https://developer.chrome.com/docs/extensions/reference/api/identity).
21+
- **Extension ID** - `gopkidjpdjfamphfffkhpmmmbmknflmk`
22+
- **Update manifest for the self-hosted extension** - `https://github.com/chromeos/iwa-sink/releases/latest/download/manifest.xml`
44 Bytes
Binary file not shown.

extension/IwaKitchenSinkExtension/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
"name": "IWA Kitchen Sink Compation Extension",
55
"description": "Companion extension for the IWA Kitchen Sink",
6-
"version": "1.0",
6+
"version": "1.1",
77

88
"background": {
99
"service_worker": "/scripts/background.js"
1010
},
1111

1212
"externally_connectable": {
1313
"matches": [
14-
"isolated-app://*/*"
14+
"isolated-app://aiv4bxauvcu3zvbu6r5yynoh4atkzqqaoeof5mwz54b4zfywcrjuoaacai/*"
1515
]
1616
},
1717

extension/manifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0" server="prod">
2+
<app appid="gopkidjpdjfamphfffkhpmmmbmknflmk" cohort="" cohortname="" status="ok">
3+
<updatecheck codebase="https://github.com/chromeos/iwa-sink/releases/latest/download/IwaKitchenSinkExtension.crx" status="ok" version="1.1"/>
4+
</app>
5+
</gupdate>

src/components/scripts/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
const COMPANION_EXTENSION_ID = 'iihpmimbjmmjhmhpmlbfiacamlfplffi';
17+
const COMPANION_EXTENSION_ID = 'gopkidjpdjfamphfffkhpmmmbmknflmk';
1818
const REQUEST_VERSION_CHECK = 'version';
1919

2020
document.addEventListener('DOMContentLoaded', () => {

0 commit comments

Comments
 (0)