Merge pull request #7122 from nextcloud/backport/6921/stable-3.14

[stable-3.14] Add additional options to make cross-compiling client feasible with Mac Crafter
This commit is contained in:
Claudio Cambra 2024-09-24 10:14:43 +08:00 committed by GitHub
commit d3cd7bb4ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,6 +209,10 @@ struct Build: ParsableCommand {
}
try fm.copyItem(atPath: clientAppDir, toPath: "\(productPath)/\(appName).app")
print("Placing Nextcloud Desktop Client in product directory...")
try fm.createDirectory(atPath: productPath, withIntermediateDirectories: true, attributes: nil)
try fm.copyItem(atPath: clientAppDir, toPath: productPath)
print("Done!")
}
}