Add note about packaging tooling in mac crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-09-20 18:54:48 +08:00
parent a77aca3ab2
commit c405ce34d6

View file

@ -23,6 +23,7 @@ enum PackagingError: Error {
case packageSparkleSignError(String)
}
/// NOTE: Requires Packages utility. http://s.sudre.free.fr/Software/Packages/about.html
fileprivate func buildPackage(appName: String, buildWorkPath: String, productPath: String) throws -> String {
let packageFile = "\(appName).pkg"
let pkgprojPath = "\(buildWorkPath)/admin/osx/macosx.pkgproj"