Merge branch 'master' of github.com:fleschutz/PowerShell

This commit is contained in:
Markus Fleschutz 2022-11-05 16:30:14 +01:00
commit 2c2567fe5c

View File

@ -17,8 +17,8 @@ try {
Write-Host "⏳ (1/5) Searching for IPFS executable... " -noNewline Write-Host "⏳ (1/5) Searching for IPFS executable... " -noNewline
& ipfs --version & ipfs --version
if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" } if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" }
"⏳ (2/5) Init IPFS with server profile..." "⏳ (2/5) Init IPFS with profile 'lowpower'..."
& ipfs init --profile server & ipfs init --profile lowpower
"⏳ (3/5) Configuring IPFS..." "⏳ (3/5) Configuring IPFS..."
& ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 & ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001