зеркало из https://github.com/nextcloud/desktop.git
Use recursive codesign instead of broken wildcard path for sparkle Autoupdate app
Broken when we starting escaping paths in codesign arguments Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
7c171b8e20
Коммит
f5d91953bf
|
@ -94,9 +94,9 @@ func codesignClientAppBundle(
|
||||||
|
|
||||||
print("Code-signing Sparkle autoupdater app (without entitlements)...")
|
print("Code-signing Sparkle autoupdater app (without entitlements)...")
|
||||||
let sparkleFrameworkPath = "\(frameworksPath)/Sparkle.framework"
|
let sparkleFrameworkPath = "\(frameworksPath)/Sparkle.framework"
|
||||||
try codesign(identity: codeSignIdentity,
|
try recursivelyCodesign(path: "\(sparkleFrameworkPath)/Resources/Autoupdate.app",
|
||||||
path: "\(sparkleFrameworkPath)/Resources/Autoupdate.app/Contents/MacOS/*",
|
identity: codeSignIdentity,
|
||||||
options: "--timestamp --force --verbose=4 --options runtime --deep")
|
options: "--timestamp --force --verbose=4 --options runtime --deep")
|
||||||
|
|
||||||
print("Re-codesigning Sparkle library...")
|
print("Re-codesigning Sparkle library...")
|
||||||
try codesign(identity: codeSignIdentity, path: "\(sparkleFrameworkPath)/Sparkle")
|
try codesign(identity: codeSignIdentity, path: "\(sparkleFrameworkPath)/Sparkle")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче