mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fix copying tor binaries into project
This commit is contained in:
parent
50ed30a84f
commit
35ff387809
@ -98,9 +98,8 @@ jobs:
|
||||
# NOTE: make sure to change when upgrading tor
|
||||
key: "build-win64-tor-0.4.7.7-{{ .Environment.CACHE_VERSION }}"
|
||||
|
||||
# Install cygwin and required packages
|
||||
- run:
|
||||
name: Install cygwin and required packages (for building tor)
|
||||
name: Install cygwin and required packages
|
||||
shell: bash.exe --login -eo pipefail
|
||||
command: |
|
||||
curl -o setup-x86_64.exe https://cygwin.com/setup-x86_64.exe
|
||||
@ -156,7 +155,6 @@ jobs:
|
||||
# paths:
|
||||
# - C:\Users\circleci\build\libevent
|
||||
|
||||
# Build tor
|
||||
- run:
|
||||
name: Build tor
|
||||
shell: C:\\cygwin64\\bin\\bash.exe --login -eo pipefail
|
||||
@ -198,9 +196,10 @@ jobs:
|
||||
- run:
|
||||
name: Copy tor binaries into project
|
||||
command: |
|
||||
Copy-Item -Path C:\Useres\circleci\build\tor\bin\tor.exe -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
Copy-Item -Path C:\Useres\circleci\build\tor\share\tor\geoip -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
Copy-Item -Path C:\Useres\circleci\build\tor\share\tor\geoip6 -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
New-Item -ItemType Directory -Force -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
Copy-Item -Path C:\Users\circleci\build\tor\bin\tor.exe -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
Copy-Item -Path C:\Users\circleci\build\tor\share\tor\geoip -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
Copy-Item -Path C:\Users\circleci\build\tor\share\tor\geoip6 -Destination C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\
|
||||
|
||||
- restore_cache:
|
||||
# NOTE: make sure to change when uprading obfs4proxy
|
||||
|
Loading…
Reference in New Issue
Block a user