[fix] fix missing wgc_plugin.dll in Windows packaging process, refs #76

This commit is contained in:
dijunkun
2026-04-13 23:51:39 +08:00
parent eee6c588bd
commit c1394db285
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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
+2
View File
@@ -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"