Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit f3b72e6

Browse files
committed
Clean up NSIS download
The special build with logging enabled is no longer needed because we are now saving the displayed log.
1 parent 67be7a8 commit f3b72e6

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

config/tools.json

+4-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
"tools": [
33
{
44
"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
129
},
1310
{
1411
"name": "MSYS2",

update.ps1

+1-9
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,10 @@ function updateDownloadUrl {
8080
}
8181

8282
'NSIS' {
83-
$newName = 'nsis.zip'
8483
$item = Invoke-RestMethod 'https://sourceforge.net/projects/nsis/rss' |
8584
Where-Object { $_.link -match 'nsis-([0-9]+\.)+[0-9]+\.zip' } |
8685
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]
9587
$item.link
9688
}
9789

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.0
1+
0.5.1

0 commit comments

Comments
 (0)