getmacapps.com - Automatically download and install multiple Mac apps

Discussion in 'Mac Applications and Mac App Store' started by jdechko, Jun 6, 2013.

  1. macrumors 68040

    Joined:
    Jul 1, 2004
    #1
    Just read about this cool service over at Lifehacker. As a user of both Macs and PCs, I've always wished for a service like ninite that was available for the Mac.

    Ninite in a nutshell:

    You visit the website, check off all of the software (from a very long list) that you want to install and you download a custom installer. The installer is basically a script program that goes to each website, fetches the requested installers and silently installs them (without any of the crap add-ons). Very fast and very easy.

    Getmacapps.com is essentially the same thing, though currently limited in the number of apps offered. It is different from ninite in that it generates a terminal command in the form of:

    Code:
    curl -s http://getmacapps.com/raw/h2odi6yy9x | sh
    There's also a link to the shell script that it runs on your machine. The previous command links to:

    Code:
    #!/bin/bash
    
    mkdir ~/getmacapps_temp
    cd ~/getmacapps_temp
    
    # Installing Chrome
    curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
    hdiutil mount googlechrome.dmg
    cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications
    hdiutil unmount "/Volumes/Google Chrome"
    rm googlechrome.dmg
    
    # Installing Handbrake
    curl -L -o HandBrake.dmg "http://sourceforge.net/projects/handbrake/files/0.9.9/HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg/download"
    hdiutil mount HandBrake.dmg -mountpoint /Volumes/HandBrake
    cp -R "/Volumes/HandBrake/HandBrake.app" /Applications
    hdiutil unmount "/Volumes/HandBrake"
    rm HandBrake.dmg
    
    # Installing VLC Player
    curl -L -o vlc.dmg "http://get.videolan.org/vlc/2.0.6/macosx/vlc-2.0.6.dmg"
    hdiutil mount vlc.dmg -mountpoint /Volumes/vlc
    cp -R "/Volumes/vlc/VLC.app" /Applications
    hdiutil unmount "/Volumes/vlc"
    rm vlc.dmg
    
    # Installing Skype
    curl -L -O "http://www.skype.com/go/getskype-macosx.dmg"
    hdiutil mount getskype-macosx.dmg
    cp -R "/Volumes/Skype/Skype.app" /Applications
    hdiutil unmount "/Volumes/Skype"
    rm getskype-macosx.dmg
    
    # Installing Dropbox
    curl -L -o Dropbox.dmg "https://www.dropbox.com/download?plat=mac"
    hdiutil mount Dropbox.dmg
    cp -R "/Volumes/Dropbox Installer/Dropbox.app" /Applications
    hdiutil unmount "/Volumes/Dropbox Installer"
    rm Dropbox.dmg
    
    # Installing caffeine
    curl -L -o Caffeine.zip "http://download.lightheadsw.com/download.php?software=caffeine"
    unzip Caffeine.zip
    mv Caffeine.app /Applications
    rm Caffeine.zip
    
    # Installing GitHub
    curl -L -o mac_GitHub.zip "https://central.github.com/mac/latest"
    unzip mac_GitHub.zip
    mv GitHub.app /Applications
    rm mac_GitHub.zip
    
    # Installing flux
    curl -L -O "https://justgetflux.com/mac/Flux.zip"
    unzip Flux.zip
    mv Flux.app /Applications
    rm Flux.zip
    
    # Installing Coconut Battery
    curl -L -o coconutBattery.zip "http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip"
    unzip coconutBattery.zip
    mv "coconutBattery.app" /Applications
    rm coconutBattery.zip
    
    # Installing Notational Velocity
    curl -L -O "http://notational.net/NotationalVelocity.zip"
    unzip NotationalVelocity.zip
    mv "Notational Velocity.app" /Applications
    rm NotationalVelocity.zip
    
    # Installing Skitch
    curl -L -o Skitch.zip "http://evernote.com/download/get.php?file=SkitchMac"
    unzip Skitch.zip
    mv "Skitch.app" /Applications
    rm Skitch.zip
    
    As you can see, it downloads dmg/zip files directly from the source website, so you shouldn't have any issues with malware. And you would still be responsible for your own registration codes for the paid apps. (Included this so it doesn't get flagged for piracy/cracked software)

    I'm sure that other apps will eventually be added, but you could take the shell script output and add your own apps and create your own custom installer.

    Definitely going to bookmark this for later.
     
  2. macrumors member

    Joined:
    Feb 7, 2013
    #2
    OK I can see the handiness of this. But, what if... the website gets hacked and all sorts of malicious code/ apps are being placed on the website? Running the terminal scripts is easy but also gives all the access to your computer right? Or do you first have to give in your administrator password for installation?
     
  3. thread starter macrumors 68040

    Joined:
    Jul 1, 2004
    #3
    Well 2 things I can think of.

    1) Apps are being downloaded from the developer's site directly. Dropbox, for instance, is being downloaded straight from dropbox.com. Which leads me to...

    2) The actual shell script is viewable. So you, as a user, can verify that nothing shady is going on behind the scenes. In short, if the dropbox.app were hacked, downloading it through this script vs downloading it directly would be no different.

    You aren't giving the script admin access, so the script couldn't, say, format your hard drive, as the script isn't given root access.

    All in all, it seems to be a pretty simple script, that just happens to be automatically generated from a website. Users who are likely to use a service like this would tend to be more power users capable of verifying the script before running it, understand what is going on, and understanding the consequences.
     

Share This Page