Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
neilenns committed Dec 7, 2023
1 parent 8ac0ce5 commit ef373a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:

- name: Downgrade NSIS
shell: pwsh
run: |
.\Build\downgrade_nsis.ps1
makensis.exe /VERSION
run: .\Build\downgrade_nsis.ps1

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down
6 changes: 4 additions & 2 deletions Build/downgrade_nsis.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

$NsisVersion = "3.04"
Invoke-WebRequest "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/${NsisVersion}/nsis-${NsisVersion}-setup.exe" -OutFile "C:\WINDOWS\Temp\nsis-${NsisVersion}-setup.exe"
Invoke-Expression "& C:\WINDOWS\Temp\nsis-3.04-setup.exe /S"
Invoke-Expression "& C:\WINDOWS\Temp\nsis-${NsisVersion}-setup.exe /S"

$NsisPath = "${env:ProgramFiles(x86)}\NSIS\"
Add-MachinePathItem $NsisPath
$env:Path = Get-MachinePath
$env:Path = Get-MachinePath

makensis.exe /VERSION

0 comments on commit ef373a5

Please sign in to comment.