update lokinet-bootstrap

This commit is contained in:
Jeff Becker 2020-01-10 18:11:08 -05:00
parent caad1dcd05
commit a615457316
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
[CmdletBinding()]
param ()
$web = New-Object System.Net.WebClient
$web.DownloadFile('https://seed.lokinet.org/lokinet.signed', '%APPDATA%\.lokinet\bootstrap.signed')
if( -not ( Test-Path $env:APPDATA\.lokinet -PathType Container ) )
{
lokinet.exe -g
}
$web.DownloadFile("https://seed.lokinet.org/lokinet.signed", "$env:APPDATA\.lokinet\bootstrap.signed")