diff options
author | Micah Lee <micah@micahflee.com> | 2023-02-05 16:41:07 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2023-02-05 16:41:07 -0800 |
commit | 8689cd87d711e5f2a002d8f8b07160177db08af3 (patch) | |
tree | 56fb359bdee59a25d1470d211390c4275a81acba /RELEASE.md | |
parent | a346e52bebe8cd3e8e54f1c471ed3576f6f1daa2 (diff) | |
download | onionshare-8689cd87d711e5f2a002d8f8b07160177db08af3.tar.gz onionshare-8689cd87d711e5f2a002d8f8b07160177db08af3.zip |
Change minimum Python version to 3.8, and update all poetry deps
Diffstat (limited to 'RELEASE.md')
-rw-r--r-- | RELEASE.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -150,6 +150,31 @@ This will create: ### macOS release +In order to make a universal2 binary, you must run this one a Mac with Apple Silicon. To keep a clean environment, you can use VM. + +Set up the VM like this: + +- Install [Homebrew](https://brew.sh/) +- `brew install create-dmg` +- Install the latest Python 3.10 from https://www.python.org/downloads/ +- Install ARM64 version of Go from https://go.dev/dl/ + +```sh +cd desktop +python3 -m pip install poetry +/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry install +/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/get-tor.py macos +./scripts/build-pt-obfs4proxy.sh +./scripts/build-pt-snowflake.sh +./scripts/build-pt-meek.sh +/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py build +/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py bdist_mac +/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/build-macos.py cleanup-build +cd build +tar -czvf ~/onionshare-macos-universal2.tar.gz OnionShare.app +``` + + Set up the packaging environment: - Install create-dmg: `brew install create-dmg` |