From 5e2c5bf5cd7d29aa5f6f59959cbae81b1fbb1a9f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 26 Jul 2023 13:01:45 +0200 Subject: [PATCH] Fix incorrect XPath syntax --- scripts/Windows/Scripts/AppAssociations.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/AppAssociations.ps1 b/scripts/Windows/Scripts/AppAssociations.ps1 index ed06146e..403a125b 100644 --- a/scripts/Windows/Scripts/AppAssociations.ps1 +++ b/scripts/Windows/Scripts/AppAssociations.ps1 @@ -3,7 +3,7 @@ $null = New-Module { static $associationSelector = "/DefaultAssociations/Association"; static [string] GetSelector([string] $identifier) { - return "$([AppAssociations]::associationSelector)[Identifier='$identifier']"; + return "$([AppAssociations]::associationSelector)[@Identifier='$identifier']"; } static [xml] GetAppAssociations() {