Prune the AppImage a little, and prune Windows installer less

This commit is contained in:
Veronica Berglyd Olsen
2025-06-09 22:49:00 +02:00
parent d153d80595
commit 6379f031c2
4 changed files with 77 additions and 83 deletions
+5 -1
View File
@@ -30,7 +30,8 @@ from pathlib import Path
from utils.common import (
ROOT_DIR, SETUP_DIR, appdataXml, copyPackageFiles, copySourceCode,
extractVersion, freshFolder, makeCheckSum, systemCall, toUpload, writeFile
extractVersion, freshFolder, makeCheckSum, removeRedundantQt, systemCall,
toUpload, writeFile
)
@@ -113,6 +114,9 @@ def appImage(args: argparse.Namespace) -> None:
qt6Lib = siteDir / "PyQt6" / "Qt6" / "lib"
shutil.copyfile(libPath / "libxcb-cursor.so.0", qt6Lib / "libxcb-cursor.so.0")
# Remove Redundant
removeRedundantQt(siteDir)
# Build Image
appToolExec = os.environ.get("APPIMAGE_TOOL_EXEC", "appimagetool")
env = os.environ.copy()