This commit is contained in:
Kovid Goyal 2026-04-17 14:33:10 +05:30
parent c55afe2737
commit 4dee44efa0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,7 +53,7 @@ MINIMUM_SYSTEM_VERSION = '14.0.0'
def generate_icns(light_iconset: str, dark_iconset: str, output_path: str) -> None:
def add_iconset(icns, path):
for img in os.listdir(path):
for img in sorted(os.listdir(path)):
if img.endswith('.png'):
icns.add_media(file=os.path.join(path, img))
dark_icns = icnsutil.IcnsFile()