Mac OS“productbuild”的手册页讨论了分发文件:
--distribution dist-path Use the distribution file at dist-path to define the presentation, choices and packages to be installed by the product. Each of the package names referenced in the given distribution file must be found in a path specified with the --package-path flag.
但我无法找到有关分发文件中的内容的信息。那里有什么东西?是否有参考页面?
答案 0 :(得分:4)
它当然没有记录,但有一些信息:
我还建议检查现有软件包中的分发文件。您可以使用以下内容展开扁平包装:
pkgutil --expand Foo.pkg destination_folder