Prune the AppImage a little, and prune Windows installer less
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user