From: Claudio Cambra Date: Fri, 8 Nov 2024 05:56:02 +0000 (+0900) Subject: Add option to create developer builds of client via mac crafter X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~56^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=62bc088ea1fdaef1b530de3339e20db958e5ed8a;p=nextcloud-desktop.git Add option to create developer builds of client via 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 3d2f48f93..d7e680a30 100644 --- a/admin/osx/mac-crafter/Sources/main.swift +++ b/admin/osx/mac-crafter/Sources/main.swift @@ -110,6 +110,9 @@ struct Build: ParsableCommand { @Flag(help: "Create an installer package.") var package = false + @Flag(help: "Build in developer mode.") + var dev = false + mutating func run() throws { print("Configuring build tooling.") @@ -179,6 +182,11 @@ struct Build: ParsableCommand { craftOptions.append("\(craftBlueprintName).forceOverrideServerUrl=\(forceOverrideServerUrl ? "True" : "False")") } + if dev { + appName += "Dev" + craftOptions.append("\(craftBlueprintName).devMode=True") + } + if !disableAutoUpdater { print("Configuring Sparkle auto-updater.")