MCPcopy Create free account
hub / github.com/MacPaw/macapptree / application_for_bundle

Function application_for_bundle

macapptree/apps.py:94–98  ·  view source on GitHub ↗
(app_bundle, workspace)

Source from the content-addressed store, hash-verified

92
93
94def application_for_bundle(app_bundle, workspace):
95 for app in workspace.runningApplications():
96 if app_bundle is not None:
97 if app.bundleIdentifier() == app_bundle:
98 return app
99
100
101# check if application is running

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected