From f4e99a1bd6aa682581e14cf347aabaef5dca6fa6 Mon Sep 17 00:00:00 2001 From: Doomsdayrs <38189170+Doomsdayrs@users.noreply.github.com> Date: Sun, 5 Apr 2020 14:46:00 -0400 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c98d3e7e..ef91266d 100644 --- a/README.md +++ b/README.md @@ -59,18 +59,18 @@ sunshine needs access to uinput to create mouse and gamepad events: - `make` ### Setup: - * Gamepad support: Download and run 'ViGEmBus_Setup_1.16.116.exe' from [https://github.com/ViGEm/ViGEmBus/releases] +- **OPTIONAL** Gamepad support: Download and run 'ViGEmBus_Setup_1.16.116.exe' from [https://github.com/ViGEm/ViGEmBus/releases] ### Static build #### Requirements: MSYS2 : mingw-w64-x86_64-openssl mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-boost git-lfs #### Compilation: - * git lfs install - * git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules - * cd sunshine && mkdir build && cd build - * cmake -DSUNSHINE_STANDALONE=ON -DSUNSHINE_ASSETS_DIR=assets -G"Unix Makefiles" .. - * make +- `git lfs install` +- `git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules` +- `cd sunshine && mkdir build && cd build` +- `cmake -DSUNSHINE_STANDALONE=ON -DSUNSHINE_ASSETS_DIR=assets -G"Unix Makefiles" ..` +- `make` @@ -109,6 +109,19 @@ sunshine needs access to uinput to create mouse and gamepad events: - env: Adds or overwrites Environment variables for the commands/applications run by Sunshine. - "Variable name":"Variable value" - apps: The list of applications + - Example: + ```json + { + "name":"An App", + "cmd":"command to open app", + "prep-cmd":[ + { + "do":"somecommand", + "undo":"undothatcommand" + } + ] + } + ``` - name: Self explanatory - output : The file where the output of the command is stored - If it is not specified, the output is ignored