Add an option to control whether Sunshine starts on boot
This commit is contained in:
parent
a87d8335bd
commit
fe62b10324
3 changed files with 18 additions and 1 deletions
|
|
@ -5,7 +5,9 @@ for %%I in ("%~dp0\..") do set "ROOT_DIR=%%~fI"
|
|||
|
||||
set SERVICE_NAME=sunshinesvc
|
||||
set SERVICE_BIN="%ROOT_DIR%\tools\sunshinesvc.exe"
|
||||
set SERVICE_START_TYPE=auto
|
||||
|
||||
rem Set service to demand start. It will be changed to auto later if the user selected that option.
|
||||
set SERVICE_START_TYPE=demand
|
||||
|
||||
rem Check if sunshinesvc already exists
|
||||
sc qc %SERVICE_NAME% > nul 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue