fix windows add-firewall-rule script
This commit is contained in:
parent
43fa4100d2
commit
f7d4f49809
2 changed files with 10 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
@echo off
|
||||
|
||||
rem Get sunshine root directory
|
||||
for %%I in ("%~dp0\..") do set "root_dir=%%~fI"
|
||||
for %%I in ("%~dp0\..") do set "ROOT_DIR=%%~fI"
|
||||
|
||||
set SERVICE_NAME=sunshinesvc
|
||||
set SERVICE_BIN="%root_dir%\tools\sunshinesvc.exe"
|
||||
set SERVICE_BIN="%ROOT_DIR%\tools\sunshinesvc.exe"
|
||||
set SERVICE_START_TYPE=auto
|
||||
|
||||
rem Check if sunshinesvc already exists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue