From b37430fa2b97be9b2305769ecf2e52998af3e830 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 00:15:11 +0200 Subject: [PATCH] Try fixing the `Add-Content` command --- scripts/Windows/Scripts/Context.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 2f059cd4..028a199c 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -244,7 +244,7 @@ class Context { $configName += "WithPlaceholders"; } - Add-Content $($this.GetNextcloudConfigFile()) ` + Add-Content -Path $($this.GetNextcloudConfigFile()) ` -Value [string]::Join( "`n", @(