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 23, 2025 20:04 — forked from afgomez/dmginstall.sh
Download and install a .dmg
#!/bin/bash --login
# Installs an application from .dmg from a URL or path
#
# For example, for installing wireshark version 3.0.2
# $ dmginstall -u https://1.na.dl.wireshark.org/osx/Wireshark%203.0.2%20Intel%2064.dmg
# or for firefox version 68.0
# $ dmginstall -u https://download-installer.cdn.mozilla.net/pub/firefox/releases/68.0/mac/en-US/Firefox%2068.0.dmg
# for backblaze
# $ dmginstall -u https://secure.backblaze.com/groups/install_backblaze.dmg -s Backblaze\ Installer.app/Contents/MacOS/bzinstall_mate -- -nogui -createaccount_or_signinaccount <email> <groupid> <grouptoken>

Keybase proof

I hereby claim:

  • I am durkinza on github.
  • I am durkinza (https://keybase.io/durkinza) on keybase.
  • I have a public key whose fingerprint is 3267 9C0B 5A01 8B96 C7EC 251D 167D 0AC6 FDAA 8B51

To claim this, I am signing this object: