Applications are refreshed only when Client is restarted
Name
Actions
{{app.name}}
Application Name, as shown on Moonlight
The file where the output of the command is stored, if it is not
specified, the output is ignored
Enable/Disable the execution of Global Prep Commands for this
application.
A list of commands to be run before/after this application.
If any of the prep-commands fail, starting the application is aborted.
Do Command
Undo Command
Run as Admin
A list of commands to be run and forgotten about
The main application, if it is not specified, a process is started
that sleeps indefinitely
The working directory that should be passed to the process. For
example, some applications use the working directory to search for
configuration files. If not set, Sunshine will default to the parent
directory of the command
This can be necessary for some applications that require administrator
permissions to run properly.
This will attempt to automatically detect launcher-type apps that close
quickly after launching another program or instance of themselves. When
a launcher-type app is detected, it is treated as a detached app.
This will continue streaming until all processes started by the app have terminated.
When unchecked, streaming will stop when the initial app process exits, even if other
app processes are still running.
Number of seconds to wait for all app processes to gracefully exit when requested to quit.
If unset, the default is to wait up to 5 seconds. If set to zero or a negative value,
the app will be immediately terminated.
Covers Found
Loading...
Application icon/picture/image path that will be sent to client. Image
must be a PNG file. If not set, Sunshine will send default box image.
About Environment Variables
All commands get these environment variables by default:
Var Name
SUNSHINE_APP_ID
App ID
SUNSHINE_APP_NAME
App Name
SUNSHINE_CLIENT_WIDTH
The Width requested by the client
SUNSHINE_CLIENT_HEIGHT
The Height requested by the client
SUNSHINE_CLIENT_FPS
The FPS requested by the client
SUNSHINE_CLIENT_HDR
(true/false) if HDR is enabled by the client
SUNSHINE_CLIENT_GCMAP
(int) the requested gamepad mask, in a bitset/bitfield format
SUNSHINE_CLIENT_HOST_AUDIO
(true/false) if the client has requested host audio
SUNSHINE_CLIENT_ENABLE_SOPS
(true/false) if the client has requested the option to optimize the game for optimal
streaming
SUNSHINE_CLIENT_AUDIO_CONFIGURATION
The Audio Configuration requested by the client (2.0/5.1/7.1)