Enhance webdrop-bridge cask with macOS dependency and post-installation instructions

This commit is contained in:
claudi 2026-05-20 08:08:26 +02:00
parent df17b16e17
commit dfbd0b23dd

View file

@ -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