Skip to content

Commit 53fde54

Browse files
Update build.yml
1 parent 891b3d0 commit 53fde54

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ jobs:
8787
steps:
8888
- uses: actions/checkout@v4
8989

90-
# FIX: nsis is NOT a MINGW64 package — removed from here
9190
- uses: msys2/setup-msys2@v2
9291
with:
9392
msystem: MINGW64
@@ -98,7 +97,6 @@ jobs:
9897
mingw-w64-x86_64-SDL2_ttf
9998
make
10099
101-
# FIX: install NSIS via Chocolatey (the correct way on windows-latest)
102100
- name: Install NSIS
103101
shell: pwsh
104102
run: choco install nsis -y --no-progress
@@ -132,13 +130,12 @@ jobs:
132130
"AAAAAAAAAAAAAAAAAAAA////AAAAAAAA"))
133131
}
134132
135-
# FIX: run makensis via PowerShell so it uses the system PATH (Chocolatey install)
136133
- name: Build installer
137134
shell: pwsh
138135
run: |
139136
$env:PATH = "C:\Program Files (x86)\NSIS;$env:PATH"
140137
$workdir = (Get-Location).Path -replace '\\','/'
141-
& "makensis.exe" /DWORKDIR="$workdir\release" photon.nsi
138+
& "makensis.exe" /DWORKDIR="$workdir\release" installer\windows\photon.nsi
142139
143140
- name: Zip portable release
144141
shell: pwsh

0 commit comments

Comments
 (0)