diff --git a/config/tools.json b/config/tools.json index c57c6d1..c58d626 100644 --- a/config/tools.json +++ b/config/tools.json @@ -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", diff --git a/update.ps1 b/update.ps1 index 7f02d54..5b38ef4 100644 --- a/update.ps1 +++ b/update.ps1 @@ -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 } diff --git a/version.txt b/version.txt index 4a234ab..dc3eb2b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.5.0 +0.5.1