From 708abfda5ae5832248c4e630e63fdceb7d68c852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Sun, 28 Jun 2026 20:47:17 +0200 Subject: [PATCH] fix: remove UPX due to broken antivirus heuristics Fixes #71 (hopefully) --- .github/workflows/make-dist.sh | 5 ----- .github/workflows/release.yml | 4 ---- 2 files changed, 9 deletions(-) diff --git a/.github/workflows/make-dist.sh b/.github/workflows/make-dist.sh index 8624f35..0bd9f59 100644 --- a/.github/workflows/make-dist.sh +++ b/.github/workflows/make-dist.sh @@ -31,11 +31,6 @@ cp -va $MINGW_PREFIX/share/qt6/plugins/platforms/* dist/share/qt6/plugins/platfo mkdir -p dist/plugins cp -va plugins/lib/libqscan_*.dll dist/plugins/ -upx=$(find . -iname "upx.exe" -type f -print -quit) -if [ -e "$upx" ]; then - "./$upx" dist/*.exe dist/*.dll || true -fi - if command -v zip >/dev/null; then mv dist ${archive/.zip/} zip -9r $archive ${archive/.zip/} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdc19e6..76f5033 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,10 +45,6 @@ jobs: file gui/release/qpxtool.exe file gui/release/qpxtool.exe | grep -q 'x86-64' file gui/release/qpxtool.exe | grep -q 'for MS Windows' - - name: install UPX - run: | - wget -q https://github.com/upx/upx/releases/download/v5.1.1/upx-5.1.1-win64.zip - unzip upx-5.1.1-win64.zip - name: prepare dist id: dist run: ./.github/workflows/make-dist.sh ${{ steps.conf.outputs.version }}