Skip to content

Commit 4c39ed8

Browse files
committed
Fix: NSIS script and DLL copy locations
1. NSIS: Reverted to \\*.* pattern (copy from build/) 2. Workflow: DLLs copy to build/ (after cd build), not workspace 3. Both changes ensure DLLs end up in BUILD_DIR where NSIS picks them up This should fix 'DLLs not found' when running installed pollymc.exe
1 parent 145dbab commit 4c39ed8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
cd build
8282
/mingw64/bin/windeployqt6.exe --release pollymc.exe
8383
84-
# Copy MinGW runtime DLLs explicitly
84+
# Copy MinGW runtime DLLs explicitly to build/ (BUILD_DIR)
8585
for dll in libgcc_s_seh-1.dll libstdc++-6.dll libwinpthread-1.dll; do
8686
if [ -f "/mingw64/bin/$dll" ]; then
8787
cp -f "/mingw64/bin/$dll" .
@@ -101,8 +101,8 @@ jobs:
101101
done
102102
done
103103
104-
# List all DLLs to verify
105-
echo "=== DLLs in build directory ==="
104+
# List all DLLs to verify - they should be in build/
105+
echo "=== DLLs in build/ directory ==="
106106
ls -la *.dll
107107
108108
- name: Get version

0 commit comments

Comments
 (0)