Skip to content

Commit

Permalink
docs: update commands (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robot-Inventor authored Apr 10, 2024
1 parent 3699742 commit db42689
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ npm install
### Build

```powershell
npm build
npm run build
```

*Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations
### Package

- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Manifest
```powershell
npm run package
```

The v2 and v3 manifest files are ``manifest/v2.json`` and ``manifest/v3.json`` respectively.
Both Manifest v2 (for Firefox) and Manifest v3 (for Chrome) files are generated in the following locations.

At build time, these files are copied to generate ``manifest.json``. v2 and v3 are built at the same time, but the v2 Manifest file is copied during the v2 build phase and the v3 Manifest file during the v3 build phase.
- Manifest v2: ``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3: ``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Versioning

Expand Down
16 changes: 8 additions & 8 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ npm install
### ビルド

```powershell
npm build
npm run build
```

※Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます。
### パッケージ化

- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### Manifestファイルについて
```powershell
npm run package
```

v2とv3のManifestファイルはそれぞれ、``manifest/v2.json````manifest/v3.json``です
Manifest v2(Firefox用)とManifest v3(Chrome用)の両方のファイルが、それぞれ次の場所に生成されます

ビルド時にこれらのファイルをコピーして``manifest.json``を生成します。v2とv3を同時にビルドしますが、v2のビルド段階ではv2、v3のビルド段階ではv3のManifestファイルをコピーします。
- Manifest v2:``web-ext-artifacts/manifest_v2/hide_view_count-<VERSION>.zip``
- Manifest v3:``web-ext-artifacts/manifest_v3/hide_view_count-<VERSION>.zip``

### バージョン番号について

Expand Down

0 comments on commit db42689

Please sign in to comment.