Skip to content

Commit

Permalink
Eliminating manual folder extension check
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Jul 18, 2024
1 parent 8e14b72 commit c1ac1ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions urumanifest/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion urumanifest/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c1ac1ed

Please sign in to comment.