aboutsummaryrefslogtreecommitdiff
path: root/RELEASE.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-06 13:24:43 -0800
committerMicah Lee <micah@micahflee.com>2020-11-06 13:24:43 -0800
commitf8474c23995c31ca9cdb749b0d87bcf2ee48f9fb (patch)
treecdf6e665ce42ff441738aee24b4caaeb9854768b /RELEASE.md
parent7d477103e2b4a9e0f27189cb1ed77d9cb38d4afa (diff)
downloadonionshare-f8474c23995c31ca9cdb749b0d87bcf2ee48f9fb.tar.gz
onionshare-f8474c23995c31ca9cdb749b0d87bcf2ee48f9fb.zip
Write proper Windows release build script, and update Windows release docs
Diffstat (limited to 'RELEASE.md')
-rw-r--r--RELEASE.md31
1 files changed, 14 insertions, 17 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 32f88db7..8ff426b7 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -99,40 +99,37 @@ briefcase build
### Windows
-Build a wheel package for OnionShare CLI (including Tor binaries, from Tor Browser):
+Set up the development environment described in `README.md`. And install the [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) and add `C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86` to your path.
-```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`:
+Make sure your virtual environment is active:
```
-move dist\onionshare_cli-*-py3-none-any.whl ..\desktop
-cd ..\desktop
+venv\Scripts\activate.bat
```
-Make sure the virtual environment is active, and then run `briefcase create`:
+Run the Windows build script:
-```sh
-venv\Scripts\activate.bat
-briefcase create
-briefcase package
+```
+python package\windows\build.py
```
-_TODO: Codesign_
+This will create `windows/OnionShare-$VERSION.msi`, signed.
### macOS
+Set up the development environment described in `README.md`. And install `create-dmg`:
+
+```sh
+brew install create-dmg
+```
+
Make sure your virtual environment is active:
```sh
. venv/bin/activate
```
-Run the macOS build script (you'll need to `brew install create-dmg` first):
+Run the macOS build script:
```sh
./package/macos/build.py --with-codesign