@@ -230,11 +230,6 @@ jobs:
230230 asset=${asset//\\//}
231231 fi
232232
233- echo "${{ github.workspace }}"
234- echo "${GITHUB_WORKSPACE}"
235- pwd
236- ls -lh "${{ github.workspace }}/mapclient/res/pyinstaller/dist/"
237- ls -lh "${{ github.workspace }}/mapclient/res/pyinstaller/dist/MAP-Client${variant}"
238233 echo "Asset created: $asset"
239234 echo "file=$asset" >> $GITHUB_OUTPUT
240235 cat $GITHUB_OUTPUT
@@ -244,12 +239,23 @@ jobs:
244239 shell : cmd
245240 run : |
246241 rem AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.acs.microsoft.com -v ${{ steps.create-application.outputs.file }}
247- echo "Directory contents:"
248- dir C:/a/mapclient/mapclient/mapclient/res/pyinstaller/dist/MAP-Client-mapping-tools/
249- echo "Directory contents 2:"
250- dir C:\a\mapclient\mapclient\mapclient\res\pyinstaller\dist\MAP-Client-mapping-tools\
251242 "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\signtool" sign /d "MAP Client - mapping tools" /tr http://rfc3161timestamp.globalsign.com/advanced /fd SHA256 /td SHA256 /f ev_certificate.pfx ${{ steps.create-application.outputs.file }}
252243
244+ - name : Download NSIS Installer
245+ if : runner.os == 'Windows'
246+ run : |
247+ Invoke-WebRequest -Uri "https://sourceforge.net/projects/nsis/files/NSIS%203/3.11/nsis-3.11-setup.exe/download" -OutFile "nsis-setup.exe"
248+
249+ - name : Install NSIS
250+ if : runner.os == 'Windows'
251+ run : |
252+ Start-Process -FilePath ".\\nsis-setup.exe" -ArgumentList "/S" -Wait
253+
254+ - name : Verify NSIS Installation
255+ if : runner.os == 'Windows'
256+ run : |
257+ & "C:\\Program Files (x86)\\NSIS\\makensis.exe" -VERSION
258+
253259 - name : Codesign application (macOS)
254260 if : runner.os == 'macOS'
255261 run : |
0 commit comments