diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 99062ca..bdcc582 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -117,9 +117,31 @@ jobs: cp "$dll" dist/ 2>/dev/null || true done + # Write qt.conf so the exe finds plugins relative to itself + printf '[Paths]\nPlugins = .\n' > dist/qt.conf + + # Ensure Qt platform plugins are present (windeployqt sometimes misses them in MSYS2) + if [ ! -f dist/platforms/qwindows.dll ]; then + echo "WARNING: windeployqt did not copy platform plugins, copying manually..." + mkdir -p dist/platforms + cp /mingw64/share/qt5/plugins/platforms/qwindows.dll dist/platforms/ 2>/dev/null || \ + cp /mingw64/lib/qt5/plugins/platforms/qwindows.dll dist/platforms/ 2>/dev/null || \ + find /mingw64 -name 'qwindows.dll' -exec cp {} dist/platforms/ \; 2>/dev/null + fi + + # Also copy styles and imageformats for good measure + for plugdir in styles imageformats; do + if [ ! -d "dist/$plugdir" ]; then + srcdir=$(find /mingw64 -type d -name "$plugdir" -path "*/plugins/*" 2>/dev/null | head -1) + if [ -n "$srcdir" ]; then + cp -r "$srcdir" dist/ + fi + fi + done + strip --strip-all dist/triangles-qt.exe - echo "=== DLLs in dist/ ===" - ls -la dist/*.dll 2>/dev/null || true + echo "=== dist/ contents ===" + find dist/ -type f | head -50 - name: Download Tor shell: powershell diff --git a/share/pixmaps/nsis-header.bmp b/share/pixmaps/nsis-header.bmp index 5eb10ae..fd34c64 100644 Binary files a/share/pixmaps/nsis-header.bmp and b/share/pixmaps/nsis-header.bmp differ diff --git a/share/pixmaps/nsis-wizard.bmp b/share/pixmaps/nsis-wizard.bmp index 330de6b..59afa1b 100644 Binary files a/share/pixmaps/nsis-wizard.bmp and b/share/pixmaps/nsis-wizard.bmp differ diff --git a/src/qt/res/icons/triangles.ico b/src/qt/res/icons/triangles.ico index f116b39..8c534df 100644 Binary files a/src/qt/res/icons/triangles.ico and b/src/qt/res/icons/triangles.ico differ diff --git a/src/qt/res/icons/triangles.png b/src/qt/res/icons/triangles.png index 781f95a..3a1f6b6 100644 Binary files a/src/qt/res/icons/triangles.png and b/src/qt/res/icons/triangles.png differ