diff --git a/sky/tools/create_macos_framework.py b/sky/tools/create_macos_framework.py index 8f7a34c19d486..8e194ebbe6907 100755 --- a/sky/tools/create_macos_framework.py +++ b/sky/tools/create_macos_framework.py @@ -172,6 +172,19 @@ def process_framework(dst, args, fat_framework, fat_framework_binary): 'without_entitlements.txt', ], cwd=dst) + # Double zip to make it consistent with legacy artifacts. + # TODO(fujino): remove this once https://github.com/flutter/flutter/issues/125067 is resolved + subprocess.check_call([ + 'zip', + '-y', + 'FlutterMacOS.framework_.zip', + 'FlutterMacOS.framework.zip', + ], + cwd=dst) + # Use doubled zipped file. + final_src_path = os.path.join(dst, 'FlutterMacOS.framework_.zip') + final_dst_path = os.path.join(dst, 'FlutterMacOS.framework.zip') + shutil.move(final_src_path, final_dst_path) if __name__ == '__main__': pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy