Permalink
646dd1d Mar 29, 2016
29 lines (17 sloc) 1.36 KB

Distribution

You can currently choose between two versions of the BitBar app: BitBar and BitBarDistro. Both can be bundled with plugins. BitBarDistro disables user configuration by default. We provide builds of each version with the latest release.

Bundling plugins

We recommend using our bundler script for convenience. It takes a version of the BitBar app and the plugins to bundle, removes the code signature from the app, copies the plugins into the app bundle and ensures they are executable. If needed, please re-sign the app with your own certificate via the Apple Developer Program.

Usage:

bitbar-bundler /path/to/BitBar.app /path/to/first-plugin /path/to/second-plugin ...

If user configuration is enabled, symbolic links to the bundled plugins are created in the plugin folder selected by the user.

Settings

You can use defaults to set the plugins directory and whether user configuration should be enabled programmatically.

Examples:

defaults write com.matryer.BitBar pluginsDirectory "path/to/plugins"
defaults write com.matryer.BitBar userConfigDisabled -bool true

For global setting use /Library/Preferences/com.matryer.BitBar as domain.