mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-18 19:08:24 -04:00
codesign for OSX (#151)
This commit is contained in:
parent
c70e1f2668
commit
d6aafd88e7
2 changed files with 52 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
|
||||
cd $ROOT
|
||||
|
||||
SIGNING_IDENTITY_APP="Developer ID Application: Micah Lee"
|
||||
SIGNING_IDENTITY_INSTALLER="Developer ID Installer: Micah Lee"
|
||||
|
||||
# deleting dist
|
||||
echo Deleting dist folder
|
||||
rm -rf $ROOT/dist &>/dev/null 2>&1
|
||||
|
@ -12,3 +15,16 @@ echo Building OnionShare.app
|
|||
python setup.py py2app
|
||||
|
||||
# codesign the .app
|
||||
python $ROOT/install/prepare_for_codesign.py
|
||||
cd dist
|
||||
|
||||
# for some reason --deep fails, so sign each binary individually
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/Frameworks/QtCore.framework
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/Frameworks/QtGui.framework
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/Frameworks/Python.framework
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/Frameworks/libssl.1.0.0.dylib
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/Frameworks/libcrypto.1.0.0.dylib
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app/Contents/MacOS/python
|
||||
codesign -vvvv -s "Developer ID Application: Micah Lee" OnionShare.app
|
||||
|
||||
productbuild --component OnionShare.app /Applications OnionShare.pkg --sign "$SIGNING_IDENTITY_INSTALLER"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue