diff --git a/Casks/webdrop-bridge.rb b/Casks/webdrop-bridge.rb index 7c346cc..638b3dc 100644 --- a/Casks/webdrop-bridge.rb +++ b/Casks/webdrop-bridge.rb @@ -16,6 +16,13 @@ cask "webdrop-bridge" do app "WebDropBridge.app" + depends_on macos: ">= :monterey" + + postflight do + system_command "/usr/bin/xattr", + args: ["-dr", "com.apple.quarantine", "#{staged_path}/WebDropBridge.app"] + end + uninstall quit: "de.him_tools.webdrop-bridge" zap trash: [ @@ -31,6 +38,11 @@ cask "webdrop-bridge" do Configuration files are stored in: ~/.webdrop-bridge/ Logs are written to: ~/.webdrop-bridge/logs/ + NOTE: The app is not signed with an Apple Developer certificate. + If macOS still blocks the first launch, right-click the app in + /Applications and choose "Open", then confirm in the dialog. + Alternatively: sudo xattr -dr com.apple.quarantine /Applications/WebDropBridge.app + For documentation: https://git.him-tools.de/HIM-public/webdrop-bridge EOS end