Add support for global prep commands (#977)
This commit is contained in:
parent
c2fba6f651
commit
8c86baf627
7 changed files with 152 additions and 24 deletions
|
|
@ -107,6 +107,20 @@ log_path
|
|||
|
||||
log_path = sunshine.log
|
||||
|
||||
global_prep_cmd
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
**Description**
|
||||
A list of commands to be run before/after all applications. If any of the prep-commands fail, starting the application is aborted.
|
||||
|
||||
**Default**
|
||||
``[]``
|
||||
|
||||
**Example**
|
||||
.. code-block:: text
|
||||
|
||||
global_prep_cmd = [{"do":"nircmd.exe setdisplay 1280 720 32 144","undo":"nircmd.exe setdisplay 2560 1440 32 144"}]
|
||||
|
||||
Controls
|
||||
--------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue