Пример #1
0
def multisign(original_path, cred_dirs_to_output_paths, info_props=None):
    """ Given a path to an app,
        a mapping of credential directories to desired output paths,
        optional info.plist properties to overwrite,

        produce re-signed versions of the app as desired.

        See: multisign_archive, which this wraps.

        Returns an array of tuples of [(credentials_dir, resigned app path)...]
    """

    archive = archive_factory(original_path)
    if archive is None:
        log.debug("%s didn't look like an app...", original_path)
        return None

    return multisign_archive(archive, cred_dirs_to_output_paths, info_props)
Пример #2
0
def multisign(original_path, cred_dirs_to_output_paths, info_props=None):
    """ Given a path to an app,
        a mapping of credential directories to desired output paths,
        optional info.plist properties to overwrite,

        produce re-signed versions of the app as desired.

        See: multisign_archive, which this wraps.

        Returns an array of tuples of [(credentials_dir, resigned app path)...]
    """

    archive = archive_factory(original_path)
    if archive is None:
        log.debug("%s didn't look like an app...", original_path)
        return None

    return multisign_archive(archive, cred_dirs_to_output_paths, info_props)