Skip to content

Commit

Permalink
Fixed x86-URL in PrefetchScript
Browse files Browse the repository at this point in the history
  • Loading branch information
splumhoff committed Dec 12, 2022
1 parent 18b3be8 commit 9341c39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Disabled/Notepad++.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
<ExtraCopyFunctions></ExtraCopyFunctions>
</Download>
<Download DeploymentType="DeploymentType2">
<PrefetchScript>$LinkPath = ((Invoke-WebRequest https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest -UseBasicParsing)| Select-Object -ExpandProperty Links | Where-Object -Property href -Like "*npp.*.Installer.exe").href
$URL = "https://github.com$LinkPath"</PrefetchScript>
<PrefetchScript>$linkPath = ((Invoke-WebRequest -URI https://notepad-plus-plus.org -UseBasicParsing) | Select-Object -ExpandProperty links | Where-Object -Property href -like "/downloads/v*").href
$downloadurl = "https://notepad-plus-plus.org$linkpath"
$url = ((Invoke-WebRequest -URI $downloadurl -UseBasicParsing) | Select-Object -ExpandProperty links | Where-Object -Property href -like "*npp.*.installer.exe").href | Select-Object -Index 0</PrefetchScript>
<URL></URL>
<DownloadFileName>NotePadppInstallerx86.exe</DownloadFileName>
<Version></Version>
Expand Down

0 comments on commit 9341c39

Please sign in to comment.