Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed May 7, 2024
1 parent 63f4a56 commit 3e2ec3e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,18 @@ pull request in the [GitHub repository](https://github.com/TooTallNate/nx.js).
1. `jq` needs to be installed
1. The [devKitPro](https://devkitpro.org/) compiler toolchain needs to be installed
1. Install required packages from the official registry:
```
```bash
dkp-pacman -S switch-dev switch-freetype switch-libjpeg-turbo switch-libpng switch-libwebp switch-mbedtls
```
1. Install additional packages which are not in the official registry (cairo, pixman, wasm3, harfbuzz, quickjs-ng):
```
```bash
docker run -it --rm --mount type=bind,source="$(pwd)",target=/host ghcr.io/tootallnate/pacman-packages:nxjs sh -c 'cp packages/*/*.pkg.tar.zst /host'
dkp-pacman -U *.pkg.tar.zst
```
1. Now you can compile one of the example apps into a self-contained `.nro`:
```bash
./build.sh hello-world
```

## License

Expand Down

0 comments on commit 3e2ec3e

Please sign in to comment.