mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fix Test-Path if statements
This commit is contained in:
parent
d8af8a39be
commit
50ed30a84f
@ -208,7 +208,7 @@ jobs:
|
||||
- run:
|
||||
name: Build obfs4proxy
|
||||
command: |
|
||||
if (Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\obfs4proxy.exe -PathType -leaf -eq $true) {
|
||||
if ((Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\obfs4proxy.exe) -eq $True) {
|
||||
Write-Output "obfs4proxy already built"
|
||||
} else {
|
||||
# curl https://keys.openpgp.org/vks/v1/by-fingerprint/9EB1A490C73CC5D44DFB3E47BFBD1C7B8A6EC81A | gpg --import
|
||||
@ -232,7 +232,7 @@ jobs:
|
||||
- run:
|
||||
name: Build snowflake-client
|
||||
command: |
|
||||
if (Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\snowflake-client.exe -PathType -leaf -eq $true) {
|
||||
if ((Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\snowflake-client.exe) -eq $True) {
|
||||
Write-Output "snowflake already built"
|
||||
} else {
|
||||
go install git.torproject.org/pluggable-transports/snowflake.git/client@v2.1.0
|
||||
@ -250,7 +250,7 @@ jobs:
|
||||
- run:
|
||||
name: Build meek-client
|
||||
command: |
|
||||
if (Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\meek-client.exe -PathType -leaf -eq $true) {
|
||||
if ((Test-Path -Path C:\Users\circleci\project\desktop\onionshare\resources\tor\Tor\meek-client.exe) -eq $True) {
|
||||
Write-Output "snowflake already built"
|
||||
} else {
|
||||
go install git.torproject.org/pluggable-transports/meek.git/meek-client@v0.37.0
|
||||
|
Loading…
Reference in New Issue
Block a user