diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c3361f..c41615c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -248,6 +248,7 @@ jobs: $portableDir = "${{ github.workspace }}\portable" New-Item -ItemType Directory -Force -Path $portableDir Copy-Item "${{ github.workspace }}\build\windows\x64\release\crossdesk.exe" "$portableDir\CrossDesk.exe" + Copy-Item "${{ github.workspace }}\build\windows\x64\release\*.dll" $portableDir -Force Compress-Archive -Path "$portableDir\*" -DestinationPath "${{ github.workspace }}\crossdesk-win-x64-portable-${{ env.VERSION_NUM }}.zip" - name: Upload artifact diff --git a/scripts/windows/nsis_script.nsi b/scripts/windows/nsis_script.nsi index a51a181..111b2f2 100644 --- a/scripts/windows/nsis_script.nsi +++ b/scripts/windows/nsis_script.nsi @@ -73,6 +73,8 @@ installApp: ; Main application executable path File /oname=CrossDesk.exe "..\..\build\windows\x64\release\crossdesk.exe" + ; Bundle runtime DLLs from the release output directory + File "..\..\build\windows\x64\release\*.dll" ; Write uninstall information WriteUninstaller "$INSTDIR\uninstall.exe"