Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An extension for Alfred.app that automatically installs applications from downloaded .DMG files.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Install DMG.alfredextension
Readme.md
icon.png
info.plist
install_dmg.rb
kudos.plist

Readme.md

Install DMG for Alfred

An extension for Alfred.app that takes the pain out of applications distributed through .dmg files. When this command is run it:

  1. finds the most recently downloaded .dmg file in the ~/Downloads directory
  2. mounts it
  3. Copies any .app folders out of it to the /Applications directory
  4. unmounts the dmg
  5. deletes the dmg

Installation

Option 1: Download

Download the repo and double click the InstallDMG.alfredextension file inside.

Option 2: Git Clone

Open up the terminal and run: git clone git@github.com:webartisan/Install-DMG.git [YOUR ALFRED EXTENSIONS DIRECTORY]/Install-DMG

In my case the the Alfred extension directory is ~/Dropbox/Alfred/extensions/scripts/

This setting can be found in Alfred's preferences under General>Sync

Usage

Bring up Alfred, type dmg ↩

You can change this command in the extensions tab of Alfred's settings.

In the future I will add a query after dmg that would let you pick specific items to install. For now it just runs on the most recently downloaded one.

Usage without Alfred

The extension is basically a wrapper around a ruby script. If you don't own/want Alfred you can totally just run that script and it does the same thing.

Pull Requests

are welcome

Something went wrong with that request. Please try again.