Skip to content

Commit

Permalink
Add profile to set sandbox entitlements.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Nov 27, 2024
1 parent 67c024d commit 4f24f67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ Run with `-Pinstaller` to build installer packages with build artifacts
* `cli/windows/target/release/*.(exe|msi)`
* `cli/linux/target/release/*.(deb|rpm)`

### macOS

Active the sandboxing profile with `-Psandbox` to apply sandbox entitlements `com.apple.security.app-sandbox`.

### Windows

You will run into warnings from `MSBuild`/`WiX` that are unrelated to how Cyberduck is built. You may safely ignore them.
Expand Down
6 changes: 6 additions & 0 deletions osx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@
<codesign.arg>--entitlements ../setup/app/default.entitlements</codesign.arg>
</properties>
</profile>
<profile>
<id>sandbox</id>
<properties>
<codesign.arg>--entitlements ../setup/app/sandbox.entitlements</codesign.arg>
</properties>
</profile>
<profile>
<id>installer</id>
<activation>
Expand Down

0 comments on commit 4f24f67

Please sign in to comment.