From: Claudio Cambra Date: Thu, 20 Jun 2024 10:11:07 +0000 (+0800) Subject: Allow explicitly skipping code-signing of dependencies in mac crafter X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~146 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a73877cece829e849ba57e73a214022e20aa6932;p=nextcloud-desktop.git Allow explicitly skipping code-signing of dependencies in mac crafter Signed-off-by: Claudio Cambra --- diff --git a/admin/osx/mac-crafter/Sources/main.swift b/admin/osx/mac-crafter/Sources/main.swift index d3b615e7f..ee4d7cc41 100644 --- a/admin/osx/mac-crafter/Sources/main.swift +++ b/admin/osx/mac-crafter/Sources/main.swift @@ -45,6 +45,9 @@ struct MacCrafter: ParsableCommand { @Option(name: [.long], help: "Build type (e.g. Release, RelWithDebInfo, MinSizeRel, Debug).") var buildType = "RelWithDebInfo" + @Option(name: [.long], help: "Skip code-signing dependency libraries and plugins.") + var skipDependencyCodeSigning = false + mutating func run() throws { print("Configuring build tooling.") @@ -85,7 +88,7 @@ struct MacCrafter: ParsableCommand { print("Crafting Nextcloud Desktop Client dependencies...") shell("\(craftCommand) --install-deps nextcloud-client") - if let codeSignIdentity { + if !skipDependencyCodeSigning, let codeSignIdentity { print("Code-signing Nextcloud Desktop Client libraries and frameworks...") let craftLibDir = "\(buildPath)/\(craftTarget)/lib"