mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 15:35:13 -04:00
Reverted to using Tor Browser's binaries, universal binaries (MacOS)
This commit is contained in:
parent
e3613c39fe
commit
c2fd95c29e
8 changed files with 865 additions and 884 deletions
|
@ -1,9 +1,19 @@
|
|||
#!/bin/bash
|
||||
MEEK_TAG=v0.37.0
|
||||
|
||||
OS=$(uname -s)
|
||||
|
||||
mkdir -p ./build/meek
|
||||
cd ./build/meek
|
||||
git clone https://git.torproject.org/pluggable-transports/meek.git
|
||||
git clone https://git.torproject.org/pluggable-transports/meek.git || echo "already cloned"
|
||||
cd meek
|
||||
git checkout $MEEK_TAG
|
||||
go build -o ../../../onionshare/resources/tor/meek-client ./meek-client
|
||||
|
||||
if [ "$OS" == "Darwin" ]; then
|
||||
go build -o ../../../onionshare/resources/tor/meek-client-arm64 ./meek-client
|
||||
GOOS=darwin GOARCH=amd64 go build -o ../../../onionshare/resources/tor/meek-client-amd64 ./meek-client
|
||||
lipo -create -output ../../../onionshare/resources/tor/meek-client ../../../onionshare/resources/tor/meek-client-arm64 ../../../onionshare/resources/tor/meek-client-amd64
|
||||
rm ../../../onionshare/resources/tor/meek-client-arm64 ../../../onionshare/resources/tor/meek-client-amd64
|
||||
else
|
||||
go build -o ../../../onionshare/resources/tor/meek-client ./meek-client
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue