Skip to content

Commit

Permalink
Clean up NSIS download
Browse files Browse the repository at this point in the history
The special build with logging enabled is no longer needed because we are now saving the displayed log.
  • Loading branch information
ndabas committed Feb 18, 2023
1 parent 67be7a8 commit f3b72e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
11 changes: 4 additions & 7 deletions config/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
"tools": [
{
"name": "NSIS",
"file": "nsis.zip",
"href": "https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08.zip/download"
},
{
"name": "NSIS with logging",
"file": "nsis-log.zip",
"href": "https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08-log.zip/download"
"file": "nsis-3.08.zip",
"href": "https://sourceforge.net/projects/nsis/files/NSIS%203/3.08/nsis-3.08.zip/download",
"dirName": "NSIS",
"extractStrip": 1
},
{
"name": "MSYS2",
Expand Down
10 changes: 1 addition & 9 deletions update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,10 @@ function updateDownloadUrl {
}

'NSIS' {
$newName = 'nsis.zip'
$item = Invoke-RestMethod 'https://sourceforge.net/projects/nsis/rss' |
Where-Object { $_.link -match 'nsis-([0-9]+\.)+[0-9]+\.zip' } |
Select-Object -First 1
$item.link
}

'NSIS with logging' {
$newName = 'nsis-log.zip'
$item = Invoke-RestMethod 'https://sourceforge.net/projects/nsis/rss' |
Where-Object { $_.link -match 'nsis-([0-9]+\.)+[0-9]+\-log.zip' } |
Select-Object -First 1
$newName = $Matches[0]
$item.link
}

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.5.1

0 comments on commit f3b72e6

Please sign in to comment.