diff --git a/windows-rdp/main.tf b/windows-rdp/main.tf index 7d95ec2..9e1d8fb 100644 --- a/windows-rdp/main.tf +++ b/windows-rdp/main.tf @@ -103,7 +103,7 @@ ${templatefile("${path.module}/devolutions-patch.js", { '@ | Set-Content "$root\coder.js" # Only inject the src if we have not before. - $isPatched = Select-String -Path "$devolutionsHtml" -Pattern "$patch" + $isPatched = Select-String -Path "$devolutionsHtml" -Pattern "$patch" -SimpleMatch if ($isPatched -eq $null) { (Get-Content $devolutionsHtml).Replace('', "$patch") | Set-Content $devolutionsHtml }