fix windows add-firewall-rule script

This commit is contained in:
ReenigneArcher
2022-08-28 15:51:17 -04:00
parent 43fa4100d2
commit f7d4f49809
2 changed files with 10 additions and 3 deletions

View File

@@ -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