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

master
Ben McAvoy 1 year ago
parent
commit
523f87a8d0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      Working-for-Web-(HTML5).md

+ 2
- 0
Working-for-Web-(HTML5).md

@ -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

Loading…
Cancel
Save