mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-15 02:33:17 +02:00
Program icons at 128px, no frame
This commit is contained in:
1 parent
e8c524531e
commit
d9da8438c2
8 files changed
+128
-71
No files matched your search
+3
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user