This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree 3 files changed +6
-17
lines changed
3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 2
2
"tools" : [
3
3
{
4
4
"name" : " NSIS" ,
5
- "file" : " nsis.zip" ,
6
- "href" : " https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08.zip/download"
7
- },
8
- {
9
- "name" : " NSIS with logging" ,
10
- "file" : " nsis-log.zip" ,
11
- "href" : " https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08-log.zip/download"
5
+ "file" : " nsis-3.08.zip" ,
6
+ "href" : " https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08.zip/download" ,
7
+ "dirName" : " NSIS" ,
8
+ "extractStrip" : 1
12
9
},
13
10
{
14
11
"name" : " MSYS2" ,
Original file line number Diff line number Diff line change @@ -80,18 +80,10 @@ function updateDownloadUrl {
80
80
}
81
81
82
82
' NSIS' {
83
- $newName = ' nsis.zip'
84
83
$item = Invoke-RestMethod ' https://sourceforge.net/projects/nsis/rss' |
85
84
Where-Object { $_.link -match ' nsis-([0-9]+\.)+[0-9]+\.zip' } |
86
85
Select-Object - First 1
87
- $item.link
88
- }
89
-
90
- ' NSIS with logging' {
91
- $newName = ' nsis-log.zip'
92
- $item = Invoke-RestMethod ' https://sourceforge.net/projects/nsis/rss' |
93
- Where-Object { $_.link -match ' nsis-([0-9]+\.)+[0-9]+\-log.zip' } |
94
- Select-Object - First 1
86
+ $newName = $Matches [0 ]
95
87
$item.link
96
88
}
97
89
Original file line number Diff line number Diff line change 1
- 0.5.0
1
+ 0.5.1
You can’t perform that action at this time.
0 commit comments