docs/emscripten: --embed-file does not accept a '='

This commit is contained in:
Anonymous Maarten 2024-07-03 03:21:50 +02:00 committed by Anonymous Maarten
parent 2eaf73d9e0
commit 5415909f2d
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ The _easiest_ (but not the best) way to get at your data files is to embed
them in the app itself. Emscripten's linker has support for automating this. them in the app itself. Emscripten's linker has support for automating this.
```bash ```bash
emcc -o index.html loopwave.c --embed-file=../test/sample.wav@/sounds/sample.wav emcc -o index.html loopwave.c --embed-file ../test/sample.wav@/sounds/sample.wav
``` ```
This will pack ../test/sample.wav in your app, and make it available at This will pack ../test/sample.wav in your app, and make it available at