Skip to content

Commit 13da326

Browse files
authored
Fixups for Firefox (#15)
* Remove `storage` permission * Separate builds for Firefox and Chrome * Include build and development instructions in readme.
1 parent 21f2160 commit 13da326

5 files changed

Lines changed: 2002 additions & 297 deletions

File tree

Readme.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ you to [devpod.sh/open](https://devpod.sh/open) when you click the button.
2020

2121
## Installation
2222

23-
The Chrome extension store version is under review right now.
23+
The Chrome extension store, Edge extension store, and Firefox extension store are in review.
2424

2525
In the meantime, you can download and load the extension in developer mode.
26-
Download the latest `dist-x.y.z.zip` file from the
26+
Download the latest `dev-ext-browser-x.y.z.zip` file from the
2727
[releases](https://github.com/SeriousBug/devpod-browser-extension/releases) page
28-
and unzip it.
28+
and unzip it. Download the `-chrome-` version for Chrome, Vivaldi, or Edge.
29+
Download `-firefox-` for Firefox.
2930

3031
![Screenshot of the chrome extension settings. There's a toggle labeled developer mode which is turned on, and a mouse is hovering over a button labeled Load unpacked.](./assets/loading-unpacked.png)
3132

@@ -43,6 +44,20 @@ Then in the extension settings, enable developer mode and click
4344

4445
Have any suggestions? [Open an issue](https://github.com/SeriousBug/devpod-browser-extension/issues) and I'll do my best to work on it.
4546

47+
## Build
48+
49+
To build the extension yourself, you'll need NodeJS 22 or later. Run `npm install` to install the dependencies, then `npm run build` to build the
50+
extension. You should get two files, `devpod-ext-chrome-x.y.z.zip` and `devpod-ext-firefox.x.y.z.zip`.
51+
52+
## Develop
53+
54+
Contributions are welcome! To develop the extension, using NodeJS 22 or later run `npm install`, then `npm run dev`. This will start the development server, and try to launch Chrome using a clean profile and with the extension preloaded.
55+
56+
You can develop the extension inside a devcontainer, a devcontainer
57+
configuration is provided. However, the browser launch won't work and
58+
auto-reload also does not seem to function properly. If you can figure out these
59+
issues, please let me know!
60+
4661
## Disclaimer
4762

4863
This browser extension is not an official DevPod project. It is not affiliated

0 commit comments

Comments
 (0)