diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-06 08:54:53 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-06 08:54:53 -0800 |
commit | 1b23f82474d782911fecb04bb5ef6925842deacd (patch) | |
tree | dd88266af8d87d21e6c2e4426737b54917955b95 /RELEASE.md | |
parent | 654611f1e4e44ddf1370882c15123e36adb1a450 (diff) | |
download | onionshare-1b23f82474d782911fecb04bb5ef6925842deacd.tar.gz onionshare-1b23f82474d782911fecb04bb5ef6925842deacd.zip |
Start writing a proper macOS build script
Diffstat (limited to 'RELEASE.md')
-rw-r--r-- | RELEASE.md | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -126,26 +126,16 @@ _TODO: Codesign_ ### macOS -Build a wheel package for OnionShare CLI (including Tor binaries, from Tor Browser): +Make sure your virtual environment is active: ```sh -cd cli -poetry install -poetry build -``` - -This will make a file like `dist\onionshare_cli-$VERSION-py3-none-any.whl` (except with your specific version number). Move it into `..\desktop`: - -``` -cp dist/onionshare_cli-*-py3-none-any.whl ../desktop -cd ../desktop +. venv/bin/activate ``` -Make sure the virtual environment is active, and then run `briefcase create`: +Run the macOS build script: ```sh -. venv/bin/activate -./install/macos_package.sh +./package/macos/build.py --with-codesign ``` Now, notarize the release. You must have an app-specific Apple ID password saved in the login keychain called `onionshare-notarize`. |