diff --git a/README.md b/README.md index 2a28be3..1fde9e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Share as QR +# Naiv-QR A small Firefox extension that turns the current tab's URL into a scannable QR code, so you can hand a page off to a phone (or another machine) without @@ -95,8 +95,13 @@ Permissions used (both are the minimum the feature needs): ## Publishing to AMO -`bun run package` produces a deterministic `web-ext-artifacts/share_as_qr-.zip` -from a clean checkout. The zip contains only the files in `dist/`: +The plan is to distribute Naiv-QR through +[addons.mozilla.org](https://addons.mozilla.org) as a **listed** extension. +With listed distribution Firefox handles auto-updates from AMO directly — +the manifest must therefore **not** declare `gecko.update_url`. + +`bun run package` produces `web-ext-artifacts/naiv_qr-.zip` from a +clean checkout. The zip contains only the files in `dist/`: ``` dist/ @@ -108,8 +113,15 @@ dist/ popup/popup.js (bundled, minified) ``` -For AMO source-code review, point the reviewer at this repository and the -pinned upstream commit of `vendor/qrcode.js` documented below. +For first-time AMO submission, use the web UI at +https://addons.mozilla.org/developers/addon/submit/ — upload the zip, then +fill in summary, description, screenshots, categories, and license (MIT). +Subsequent versions can be uploaded via the API with `web-ext sign +--channel listed` once you have AMO credentials. + +For the AMO source-code review step (required because of the `bun build` +step), point the reviewer at this repository and the pinned upstream commit +of `vendor/qrcode.js` documented below. ## Third-party code diff --git a/icons/icon.svg b/icons/icon.svg index ec7e228..8397aff 100644 --- a/icons/icon.svg +++ b/icons/icon.svg @@ -1,4 +1,4 @@ - + diff --git a/manifest.json b/manifest.json index e4fafb4..13812d9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { "manifest_version": 3, - "name": "Share as QR", - "version": "0.1.1", + "name": "Naiv-QR", + "version": "0.1.2", "description": "Share the current tab's URL as a scannable QR code.", "browser_specific_settings": { "gecko": { - "id": "share-as-qr@addons.naiv.no", + "id": "naiv-qr@addons.naiv.no", "strict_min_version": "142.0", "data_collection_permissions": { "required": ["none"] diff --git a/package.json b/package.json index 8a23303..25df07a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "share-as-qr", - "version": "0.1.1", + "name": "naiv-qr", + "version": "0.1.2", "private": true, "description": "Firefox extension: share the current tab's URL as a QR code.", "license": "MIT", diff --git a/popup/popup.html b/popup/popup.html index 2deadc8..15a9792 100644 --- a/popup/popup.html +++ b/popup/popup.html @@ -2,7 +2,7 @@ - Share as QR + Naiv-QR