From c1ac1edecb2aa1cf607a4e0938dd1a3fd6e0e552 Mon Sep 17 00:00:00 2001 From: Colin Cornaby Date: Sun, 14 Jul 2024 22:08:57 -0700 Subject: [PATCH] Eliminating manual folder extension check --- urumanifest/constants.py | 1 + urumanifest/dependencies.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/urumanifest/constants.py b/urumanifest/constants.py index 364bdc5..15b4d82 100644 --- a/urumanifest/constants.py +++ b/urumanifest/constants.py @@ -45,6 +45,7 @@ # All gather sections that list installer prerequisites gather_installers = frozenset(("prereq", "prereq64")) +mac_bundles = frozenset(("macBundleInternal", "macBundleExternal")) class _manifests(NamedTuple): thin: str diff --git a/urumanifest/dependencies.py b/urumanifest/dependencies.py index f7f4c71..f2342fa 100644 --- a/urumanifest/dependencies.py +++ b/urumanifest/dependencies.py @@ -191,7 +191,7 @@ def track_client_dependency(client_path: Path, server_path: Path): def track_manifest_dependency(client_path: Path, server_path: Path, category: str, manifest_names): flags = ManifestFlags.installer if category in gather_installers else 0 - flags |= ManifestFlags.bundle if client_path.suffix == ".app" else 0 + flags |= ManifestFlags.bundle if category in mac_bundles else 0 track_dependency(client_path, server_path, flags) for name in manifest_names: if name: