README.md: use version library in examples

Now that versioned libraries are created, use that in the examples
provided.
This commit is contained in:
Christian Kellner 2018-07-02 14:14:47 +02:00
parent 8f8a6d4f91
commit 1369629972

View File

@ -57,13 +57,13 @@ This will also satisfy the build requirement `inih` by pulling it in as a git su
## Requesting GameMode ## Requesting GameMode
### Users ### Users
After installing `libgamemodeauto.so` simply preload it into the game: After installing `libgamemodeauto.so.0` simply preload it into the game:
```bash ```bash
LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so ./game LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so.0 ./game
``` ```
Or edit the steam launch options: Or edit the steam launch options:
```bash ```bash
LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so %command% LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0 %command%
``` ```
Please note the backslash here in `\$LIB` is required. Please note the backslash here in `\$LIB` is required.