1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

PrintEnvironment update commands

This commit is contained in:
Kyle Spearrin
2017-11-08 20:54:39 -05:00
parent 000fbe8a3d
commit 928fd5bc82

View File

@@ -167,15 +167,15 @@ namespace Bit.Setup
var vaultUrl = Helpers.GetValueFronEnvFile("global", "globalSettings__baseServiceUri__vault"); var vaultUrl = Helpers.GetValueFronEnvFile("global", "globalSettings__baseServiceUri__vault");
Console.WriteLine("\nbitwarden is up and running!"); Console.WriteLine("\nbitwarden is up and running!");
Console.WriteLine("==================================================="); Console.WriteLine("===================================================");
Console.WriteLine("\n- visit {0}", vaultUrl); Console.WriteLine("\nvisit {0}", vaultUrl);
Console.Write("- to update, run "); Console.Write("to update, run ");
if(_hostOs == "win") if(_hostOs == "win")
{ {
Console.Write("'.\\bitwarden.ps1 -update'"); Console.Write("'.\\bitwarden.ps1 -updateself' and then '.\\bitwarden.ps1 -update'");
} }
else else
{ {
Console.Write("'./bitwarden.sh update'"); Console.Write("'./bitwarden.sh updateself' and then './bitwarden.sh update'");
} }
Console.WriteLine("\n"); Console.WriteLine("\n");
} }