Skip to content

Commit 7a0284c

Browse files
committed
fix: windows installation error, dll files and permission not available
1 parent 1ea30d6 commit 7a0284c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/create_build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ jobs:
6161

6262
- name: Package Windows app as a zip
6363
run: |
64-
cd build/windows/x64/runner/Release
65-
Compress-Archive -Path "Socket_Probe.exe" -DestinationPath "Socket_Probe_Windows.zip"
64+
$ReleasePath = "build/windows/x64/runner/Release"
65+
$ZipPath = "build/windows/x64/runner/Release/Socket_Probe_Windows.zip"
66+
67+
# Include all necessary files (EXE + DLLs + Data)
68+
Compress-Archive -Path "$ReleasePath/*" -DestinationPath $ZipPath
6669
6770
- name: Upload Windows build to GitHub Releases
6871
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)