diff options
author | Micah Lee <micah@micahflee.com> | 2022-06-19 14:57:37 -0400 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-06-19 14:57:37 -0400 |
commit | 8ff1a0b29459a48bd15de099860061e874592965 (patch) | |
tree | 89a226b1d7810bc320164daef7d7826c2e999134 /desktop/README.md | |
parent | 7526141024fef0b0e45403ffd2415a581c5b2f63 (diff) | |
download | onionshare-8ff1a0b29459a48bd15de099860061e874592965.tar.gz onionshare-8ff1a0b29459a48bd15de099860061e874592965.zip |
Make scripts to build PT binaries, and run those in CI
Diffstat (limited to 'desktop/README.md')
-rw-r--r-- | desktop/README.md | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/desktop/README.md b/desktop/README.md index 31071782..5a070ee6 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -31,20 +31,32 @@ poetry install **Windows users:** Download and install 7-Zip from https://7-zip.org/download.html. [Add](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) `C:\Program Files (x86)\7-Zip` to your path. -Download Tor Browser and extract the binaries: +Download Tor Browser and extract the binaries for your platform. The platform must be `win32`, `win64`, `macos`, or `linux64`. ```sh -poetry run python ./scripts/get-tor.py +poetry run python ./scripts/get-tor.py [platform] ``` ### Compile dependencies Install Go. The simplest way to make sure everything works is to install Go by following [these instructions](https://golang.org/doc/install). -Download and compile `meek-client`: +Compile pluggable transports: + +**Windows users, in PowerShell:** + +```powershell +.\scripts\build-pt-obfs4proxy.ps1 +.\scripts\build-pt-snowflake.ps1 +.\scripts\build-pt-meek.ps1 +``` + +**macOS and Linux users:** ```sh -poetry run python ./scripts/build-meek-client.py +./scripts/build-pt-obfs4proxy.sh +./scripts/build-pt-snowflake.sh +./scripts/build-pt-meek.sh ``` ### Running OnionShare from the source code tree |