From cb632494c136a0c23bf266f89c6c53b387f23f04 Mon Sep 17 00:00:00 2001 From: Long Zheng Date: Fri, 6 Dec 2024 17:00:46 +1100 Subject: [PATCH] More tests --- .../local/install-scrypted-dependencies-win.ps1 | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/install/local/install-scrypted-dependencies-win.ps1 b/install/local/install-scrypted-dependencies-win.ps1 index 7725e46064..e55fc0b354 100644 --- a/install/local/install-scrypted-dependencies-win.ps1 +++ b/install/local/install-scrypted-dependencies-win.ps1 @@ -105,6 +105,9 @@ svc.on("install", () => { svc.on("start", () => { console.log("Service started"); }); +svc.on("error", (err) => { + console.log("Service error", err); +}); svc.install(); "@ @@ -119,15 +122,4 @@ Write-Output "Note that it is https and that you'll be asked to approve/ignore t Start-Sleep -Seconds 30 -Write-Output "scrypted.out.log" -Get-Content "$SCRYPTED_HOME\daemon\scrypted.out.log" | Write-Output - -Write-Output "scrypted.wrapper.log" -Get-Content "$SCRYPTED_HOME\daemon\scrypted.wrapper.log" | Write-Output - -Write-Output "scrypted.err.log" -Get-Content "$SCRYPTED_HOME\daemon\scrypted.err.log" | Write-Output - -Write-Output $NPX_PATH - -& $NPX_PATH -y scrypted serve \ No newline at end of file +Get-EventLog -LogName Application -Newest 20 | Select-Object -Property * \ No newline at end of file