From 27c883f39633bb968f64f92ca3641cfb91d5477a Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 9 Feb 2023 20:45:53 -0700 Subject: [PATCH] windows: cleanup script after install --- docker/install-scrypted-dependencies-win.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/install-scrypted-dependencies-win.ps1 b/docker/install-scrypted-dependencies-win.ps1 index b26422dd3..163443a51 100644 --- a/docker/install-scrypted-dependencies-win.ps1 +++ b/docker/install-scrypted-dependencies-win.ps1 @@ -46,7 +46,7 @@ $SERVICE_JS_ESCAPED_PATH = $SERVICE_JS_PATH.replace('\', '\\') $SERVICE_JS | Out-File -Encoding ASCII -FilePath $SERVICE_JS_PATH Write-Output "Scrypted service will run as user $($env:USERNAME). Password is required for service setup." -$env:PASSWORD = Read-Host -Prompt "Enter password for $($env:USERNAME)" -MaskInput +$env:PASSWORD = Read-Host -Prompt "Enter password for $($env:USERNAME)" $INSTALL_SERVICE_JS = @" const Service = require('node-windows').Service; @@ -92,6 +92,7 @@ $INSTALL_SERVICE_JS_PATH = $SCRYPTED_HOME + '\install-service.js' $INSTALL_SERVICE_JS | Out-File -Encoding ASCII -FilePath $INSTALL_SERVICE_JS_PATH node $INSTALL_SERVICE_JS_PATH +del $INSTALL_SERVICE_JS_PATH Write-Output "Scrypted is now running at: https://localhost:10443/" Write-Output "Note that it is https and that you'll be asked to approve/ignore the website certificate."