aboutsummaryrefslogtreecommitdiff
path: root/RELEASE.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-02-05 16:41:07 -0800
committerMicah Lee <micah@micahflee.com>2023-02-05 16:41:07 -0800
commit8689cd87d711e5f2a002d8f8b07160177db08af3 (patch)
tree56fb359bdee59a25d1470d211390c4275a81acba /RELEASE.md
parenta346e52bebe8cd3e8e54f1c471ed3576f6f1daa2 (diff)
downloadonionshare-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.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 9af67fe5..d8be92eb 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -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`