onionshare/install/build_osx.sh

15 lines
257 B
Bash
Raw Normal View History

#!/bin/bash
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
cd $ROOT
# deleting dist
echo Deleting dist folder
rm -rf $ROOT/dist &>/dev/null 2>&1
# build the .app
echo Building OnionShare.app
python setup.py py2app
# codesign the .app