Enhance webdrop-bridge cask with macOS dependency and post-installation instructions
This commit is contained in:
parent
df17b16e17
commit
dfbd0b23dd
1 changed files with 12 additions and 0 deletions
|
|
@ -16,6 +16,13 @@ cask "webdrop-bridge" do
|
||||||
|
|
||||||
app "WebDropBridge.app"
|
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"
|
uninstall quit: "de.him_tools.webdrop-bridge"
|
||||||
|
|
||||||
zap trash: [
|
zap trash: [
|
||||||
|
|
@ -31,6 +38,11 @@ cask "webdrop-bridge" do
|
||||||
Configuration files are stored in: ~/.webdrop-bridge/
|
Configuration files are stored in: ~/.webdrop-bridge/
|
||||||
Logs are written to: ~/.webdrop-bridge/logs/
|
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
|
For documentation: https://git.him-tools.de/HIM-public/webdrop-bridge
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue