Skip to content

Instantly share code, notes, and snippets.

View durkinza's full-sized avatar

Zane Durkin durkinza

View GitHub Profile
@durkinza
durkinza / dmginstall.sh
Last active May 20, 2024 09:57 — forked from afgomez/dmginstall.sh
Download and install a .dmg
#!/bin/bash --login
# Downloads and installs a .dmg from a URL
#
# Usage
# $ dmginstall [url]
#
# For example, for installing wireshark version 3.0.2
# $ dmginstall https://1.na.dl.wireshark.org/osx/Wireshark%203.0.2%20Intel%2064.dmg
# or for firefox version 68.0