diff --git a/Tasks/Notepad++.Notepad++/Script.ps1 b/Tasks/Notepad++.Notepad++/Script.ps1 index d0ff6cecfb..676a015bd9 100644 --- a/Tasks/Notepad++.Notepad++/Script.ps1 +++ b/Tasks/Notepad++.Notepad++/Script.ps1 @@ -12,6 +12,11 @@ $this.CurrentState.Installer += [ordered]@{ InstallerType = 'nullsoft' InstallerUrl = $Object1.assets.Where({ $_.name.EndsWith('.exe') -and $_.name.Contains('Installer') -and $_.name -notmatch 'x64|arm64' }, 'First')[0].browser_download_url | ConvertTo-UnescapedUri } +$this.CurrentState.Installer += [ordered]@{ + Architecture = 'x64' + InstallerType = 'msi' + InstallerUrl = $Object1.assets.Where({ $_.name.EndsWith('.msi') -and $_.name.Contains('Installer') -and $_.name.Contains('x64') }, 'First')[0].browser_download_url | ConvertTo-UnescapedUri +} $this.CurrentState.Installer += [ordered]@{ Architecture = 'x64' InstallerType = 'nullsoft'