Project

wrapp

0.0
No commit activity in last 3 years
No release in over 3 years
Wrap an App... in a disk image (DMG)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 1.3
~> 3.0
>= 0
~> 3.0

Runtime

 Project Readme

Wrapp

Wrap an App... in a disk image (DMG).

Gem Version Build Status

Prologue

Say you wanna put your nice macOS application in a handy disk image (DMG) for distribution. Why not use wrapp for this? It is a short wrapper around hdiutil.

Requirements

This runs only on macOS.

Installation

Install it yourself as:

$ sudo gem install wrapp -n /usr/local/bin

(Note: Rbenv/RVM users probably want to install without sudo.)

Usage

$ wrapp --help
Usage: wrapp [options] APP_PATH
    -f, --filesystem FILESYSTEM      Causes a filesystem of the specified type to be written to the image.
    -n, --volume-name NAME           Volume name of the newly created filesystem.

Examples...

wrapp /Applications/Chunky\ Bacon.app

The commands create a DMG like chunky_bacon_1.2.3.dmg that contains the given App. (the filename automatically includes the name and version).

Thats it.

(NOTE: On authorization errors try prefixing the command with sudo!)

Contributing

Thanks for your help! Please contact me via Github or check the open issues. Then:

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2017 Björn Albers