Skip to content

Commit ff7a235

Browse files
author
OpenIPC Dashboard
committed
ci: Add GitHub Actions workflow for build and release
1 parent 80a9c28 commit ff7a235

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,14 @@ jobs:
347347
if (-not $upx) { Write-Error "upx not found"; exit 1 }
348348
349349
# Compress EXE and DLLs in dist
350-
# Avoid compressing Qt plugins (especially platform plugins), which can break Qt's plugin metadata loader.
350+
# Avoid compressing Qt plugins/modules and QML imports, which can break Qt's plugin metadata loader.
351351
Get-ChildItem dist -Recurse -Include *.exe,*.dll |
352352
Where-Object {
353353
$_.FullName -notmatch '\\qt_plugins\\' -and
354-
$_.FullName -notmatch '\\platforms\\'
354+
$_.FullName -notmatch '\\platforms\\' -and
355+
$_.FullName -notmatch '\\plugins\\' -and
356+
$_.FullName -notmatch '\\Qt(Qml|Quick|Multimedia|Network|OpenGL|Sql|Svg|Core|Gui|Labs|QmlModels|QmlWorkerScript|QmlXmlListModel)?\\' -and
357+
$_.FullName -notmatch '\\qml\\'
355358
} |
356359
ForEach-Object {
357360
& $upx -9 --lzma --force $_.FullName

0 commit comments

Comments
 (0)