Program icons at 128px, no frame

This commit is contained in:
sarah committed 2026-10-09 10:31:30 +02:00
1 parent e8c524531e
commit d9da8438c2
8 files changed
+128 -71

No files matched your search

+3 -1
View File
@@ -152,7 +152,9 @@ def ManifestHash(Program: Program) -> str:
AppImage), so that shows up as an update even with no new commit."""
Hasher = hashlib.sha256()
for ManifestFile in sorted(Program.Folder.rglob("*")):
if ManifestFile.is_file() and "__pycache__" not in ManifestFile.parts:
# Icon.png is only the card's picture before installing; changing it
# shouldn't make installed programs show an update.
if ManifestFile.is_file() and "__pycache__" not in ManifestFile.parts and ManifestFile.name != "Icon.png":
Hasher.update(str(ManifestFile.relative_to(Program.Folder)).encode())
Hasher.update(ManifestFile.read_bytes())
return Hasher.hexdigest()