• Andy Weiss's avatar
    [flutter_tools] Support zipped application bundles for macOS (#68854) · c4ceea39
    Andy Weiss authored
    * [flutter_tools] Support zipped application bundles for macOS
    
    It is not possible to directly produce a directory (.app) in some build systems
    but rather it must be zip'ed before being passed to the tool for
    running. This adds support for attempting to extract an application
    bundle from a zip file if the bundle is not already a directory. This
    uses very similar code from lib/src/application_package.dart which is
    used for extracting an ipa for iOS.
    
    This introduces tests for the macos/application_package.dart behavior which did not exist before. These tests cover the changes in the PR and some of the existing behavior, but do not cover everything in that file.
    c4ceea39
application_package.dart 5.99 KB