onionshare/desktop/scripts/build-pt-snowflake.ps1

10 lines
363 B
PowerShell
Raw Permalink Normal View History

2023-12-28 05:54:39 -05:00
$env:SNOWFLAKE_TAG = 'v2.8.1'
New-Item -ItemType Directory -Force -Path .\build\snowflake
cd .\build\snowflake
git clone https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
cd snowflake
git checkout $SNOWFLAKE_TAG
go build .\client
Move-Item -Path .\client.exe -Destination ..\..\..\onionshare\resources\tor\snowflake-client.exe