From e25b3918a70aefda587069fcf354855ea55eb6e5 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 8 Dec 2017 17:01:13 +0100 Subject: [PATCH] Copy contents of directory instead of directory itself. Refers to #13 --- AutoTx-Updater/Update-Service.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoTx-Updater/Update-Service.ps1 b/AutoTx-Updater/Update-Service.ps1 index 68843e4..5b0c4ff 100644 --- a/AutoTx-Updater/Update-Service.ps1 +++ b/AutoTx-Updater/Update-Service.ps1 @@ -206,7 +206,7 @@ function Update-Configuration { function Copy-ServiceFiles { try { Copy-Item -Recurse -Force -ErrorAction Stop ` - -Path "$UpdateBinariesPath" ` + -Path "$($UpdateBinariesPath)\*" ` -Destination "$InstallationPath" } catch { -- GitLab