Triangles branding + fix Qt platform plugin for Windows installer
Build All Platforms / test-linux-unit (push) Failing after 40s
Build All Platforms / build-linux-qt (push) Failing after 40s
Build All Platforms / build-linux-daemon (push) Failing after 40s
Build All Platforms / build-windows-qt (push) Has been cancelled
Build All Platforms / build-windows-daemon (push) Has been cancelled
Build All Platforms / build-macos (push) Has been cancelled
Build All Platforms / release (push) Has been cancelled
@@ -117,9 +117,31 @@ jobs:
|
|||||||
cp "$dll" dist/ 2>/dev/null || true
|
cp "$dll" dist/ 2>/dev/null || true
|
||||||
done
|
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
|
strip --strip-all dist/triangles-qt.exe
|
||||||
echo "=== DLLs in dist/ ==="
|
echo "=== dist/ contents ==="
|
||||||
ls -la dist/*.dll 2>/dev/null || true
|
find dist/ -type f | head -50
|
||||||
|
|
||||||
- name: Download Tor
|
- name: Download Tor
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 20 KiB |