Add step to build in helpers to mac app and codesign.

This commit is contained in:
Adam Ierymenko 2013-12-31 16:26:14 -08:00
parent 7519d8ca2c
commit 3d76d6649f

View File

@ -40,6 +40,8 @@ mac-ui: FORCE
mkdir -p build-ZeroTierUI-release mkdir -p build-ZeroTierUI-release
cd build-ZeroTierUI-release ; ../../Qt/bin/qmake ../ZeroTierUI/ZeroTierUI.pro ; make -j 4 cd build-ZeroTierUI-release ; ../../Qt/bin/qmake ../ZeroTierUI/ZeroTierUI.pro ; make -j 4
strip "build-ZeroTierUI-release/ZeroTier One.app/Contents/MacOS/ZeroTier One" strip "build-ZeroTierUI-release/ZeroTier One.app/Contents/MacOS/ZeroTier One"
cp -Rv ZeroTierUI/helpers "build-ZeroTierUI-release/ZeroTier One.app/Contents/Resources"
cd build-ZeroTierUI-release ; codesign -s '3rd Party Mac Developer Application: ZeroTier Networks LLC' "ZeroTier One.app"
install-mac-tap: FORCE install-mac-tap: FORCE
mkdir -p /Library/Application\ Support/ZeroTier/One mkdir -p /Library/Application\ Support/ZeroTier/One