Permalink
Browse files

remove code signature when bundling plugins

  • Loading branch information...
1 parent b9e6ef0 commit 646dd1d2b0caa22565b153728bdff01b3cda4c99 @iosdeveloper iosdeveloper committed Mar 29, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 Docs/DistributingBitBar.md
  2. +2 −0 Scripts/bitbar-bundler
@@ -4,7 +4,7 @@ You can currently choose between two versions of the BitBar app: **BitBar** and
## Bundling plugins
-We recommend using our [bundler script](https://github.com/matryer/bitbar/blob/master/Scripts/bitbar-bundler) for convenience. It takes a version of the BitBar app and the plugins to bundle, copies the plugins into the app bundle and ensures they are executable.
+We recommend using our [bundler script](https://github.com/matryer/bitbar/blob/master/Scripts/bitbar-bundler) 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](https://developer.apple.com/programs/).
Usage:
View
@@ -1,6 +1,8 @@
#!/bin/bash
[ "$#" -ge "2" ] || { echo "usage: $0 /path/to/BitBar.app /path/to/first-plugin /path/to/second-plugin ..."; exit 1; }
+codesign --deep --force --verbose --sign - "$1"
+
app="$1/Contents/MacOS/"
shift

0 comments on commit 646dd1d

Please sign in to comment.