Add uninstall-service.bat

This commit is contained in:
Cameron Gutman 2021-07-19 08:32:16 -05:00
parent 0140989f3a
commit d15c1af152
2 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,7 @@ after_build:
- cmd: 7z a Sunshine-Windows.zip tools\audio-info.exe
- cmd: 7z a Sunshine-Windows.zip tools\sunshinesvc.exe
- cmd: 7z a Sunshine-Windows.zip ..\tools\install-service.bat
- cmd: 7z a Sunshine-Windows.zip ..\tools\uninstall-service.bat
- cmd: appveyor PushArtifact Sunshine-Windows.zip
- sh: appveyor PushArtifact package-deb/sunshine.deb
- sh: appveyor PushArtifact sunshine.service

View File

@ -0,0 +1,7 @@
@echo off
set SERVICE_NAME=sunshinesvc
net stop %SERVICE_NAME%
sc delete %SERVICE_NAME%