https://github.com/Temikus/mac-packaging
ZSH plugin for common Mac Packaging functions
https://github.com/Temikus/mac-packaging
Last synced: about 18 hours ago
JSON representation
ZSH plugin for common Mac Packaging functions
- Host: GitHub
- URL: https://github.com/Temikus/mac-packaging
- Owner: Temikus
- Created: 2015-05-23T18:45:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T23:19:26.000Z (almost 5 years ago)
- Last Synced: 2025-03-16T03:11:07.165Z (8 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zsh-plugins - mac-packaging - A set of common functions used for enterprise Mac packaging with [Munki](https://www.munki.org/munki/). (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - mac-packaging - A set of common functions used for enterprise Mac packaging with 🌎 [Munki](www.munki.org/munki/). (Plugins / ZSH on Windows)
- awesome-zsh-plugins - mac-packaging - A set of common functions used for enterprise Mac packaging with [Munki](https://www.munki.org/munki/). (Plugins / Zinit (née zplugin))
README
mac-packaging
========
A set of common functions used for enterprise Mac Packaging with Munki.
How to install
--------------
oh-my-zsh
---------
* Download the script or clone this repository in [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh) plugins directory:
cd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/temikus/mac-packaging.git
* Activate the plugin in `~/.zshrc`:
plugins=( [plugins...] mac-packaging [plugins...])
* Source `~/.zshrc` to take changes into account:
source ~/.zshrc
antigen
-------
Add `antigen bundle temikus/mac-packaging` to your .zshrc where you're adding your other plugins. Antigen will clone the plugin for you and add it to your antigen setup the next time you start a new shell.
Commands/Usage:
------
* mkdmg - Makes a Munki-compatible DMG file out of an .app or pkg file and creates a manifest.
makedmg foo.[app|pkg]
* mkmanifest - Generates a Munki manifest for a DMG file.
mkmanifest foo.dmg
* check_appleid - prints unique user id for AppStore applications. Used to identify what user downloaded the application from the AppStore.
check_appleid foo.app
Notes/Tips:
-----------
Plugin assumes that Munki tools are available in PATH:
export PATH=$PATH:/usr/local/munki