Add notice about minshell.html as it is not previously mentioned

Ben McAvoy
2024-03-19 09:41:54 +00:00
parent f1b15a19b0
commit 523f87a8d0

@ -188,6 +188,8 @@ raylib examples [`Makefile`](https://github.com/raysan5/raylib/blob/master/examp
To compile raylib game directly from the command line, those are the commands to run:
> NOTE: in `/raylib/src/` there is a file called `minshell.html` which is the recommended shell file for Raylib applications. So you may pass `--shell-file $HOME/raylib/src/minshell.html` to `emcc` if you had Raylib in your home directory.
* Without `ASYNCIFY`
```
emcc -o game.html game.c -Os -Wall ./path-to/libraylib.a -I. -Ipath-to-raylib-h -L. -Lpath-to-libraylib-a -s USE_GLFW=3 --shell-file path-to/shell.html -DPLATFORM_WEB