Add uninstall-service.bat
This commit is contained in:
parent
0140989f3a
commit
d15c1af152
2 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ after_build:
|
||||||
- cmd: 7z a Sunshine-Windows.zip tools\audio-info.exe
|
- 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\sunshinesvc.exe
|
||||||
- cmd: 7z a Sunshine-Windows.zip ..\tools\install-service.bat
|
- 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
|
- cmd: appveyor PushArtifact Sunshine-Windows.zip
|
||||||
- sh: appveyor PushArtifact package-deb/sunshine.deb
|
- sh: appveyor PushArtifact package-deb/sunshine.deb
|
||||||
- sh: appveyor PushArtifact sunshine.service
|
- sh: appveyor PushArtifact sunshine.service
|
||||||
|
|
|
||||||
7
tools/uninstall-service.bat
Normal file
7
tools/uninstall-service.bat
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
set SERVICE_NAME=sunshinesvc
|
||||||
|
|
||||||
|
net stop %SERVICE_NAME%
|
||||||
|
|
||||||
|
sc delete %SERVICE_NAME%
|
||||||
Loading…
Add table
Add a link
Reference in a new issue