Function apple_codesign::notarization::bundle_to_zip
source · pub fn bundle_to_zip(
bundle: &DirectoryBundle
) -> Result<Vec<u8>, AppleCodesignError>
Expand description
Produce zip file data from a DirectoryBundle.
The built zip file will contain all the files from the bundle under a directory
tree having the bundle name. e.g. if you pass MyApp.app
, the zip will have
files like MyApp.app/Contents/Info.plist
.