[ci] fix NSIS uninstall function naming for service cleanup

This commit is contained in:
dijunkun
2026-04-22 00:16:58 +08:00
parent 4089e80fe8
commit 37b9badb2a
+2 -2
View File
@@ -130,7 +130,7 @@ cancelUninstall:
Abort
uninstallApp:
Call UnregisterInstalledService
Call un.UnregisterInstalledService
; Delete main executable and uninstaller
Delete "$INSTDIR\CrossDesk.exe"
@@ -211,7 +211,7 @@ missing_service_binary:
Abort
FunctionEnd
Function UnregisterInstalledService
Function un.UnregisterInstalledService
IfFileExists "$INSTDIR\CrossDesk.exe" 0 unregister_with_sc
DetailPrint "Stopping CrossDesk service"