Update .net core and newtonsoft.json

Co-authored-by: Michiel Hazelhof <m.hazelhof@fyn.nl>

Due to compatibility issues laid out in issue #53:

Update from .net core 2.0 to 3.1 and newtonsoft.json 12.0.1 to 12.0.3.
This commit is contained in:
Michiel Hazelhof
2020-03-14 07:00:25 -04:00
committed by GitHub
parent 9c62a6f2ca
commit 006fa1fecf
7 changed files with 14 additions and 14 deletions
+3 -4
View File
@@ -38,7 +38,7 @@ namespace bitwardenSelfLicensor
string buff="", licensetype="", name="", email="", businessname="";
bool valid_guid = false, valid_installid = false;
Guid guid, installid;
Guid guid = new Guid(), installid = new Guid();
config.OnExecute(() =>
{
@@ -104,17 +104,16 @@ namespace bitwardenSelfLicensor
{
WriteLineOver("Please provide the username this license will be registered to. [username]:");
buff = Console.ReadLine();
if ( checkUsername(buff) ) name = buff;
if ( checkUsername(buff) ) name = buff;
}
while (email == "")
{
WriteLineOver("Please provide the email address for the user " + name + ". [email]");
buff = Console.ReadLine();
if ( checkEmail(buff) ) email = buff;
if ( checkEmail(buff) ) email = buff;
}
if (licensetype == "user")
{
WriteLineOver("Confirm creation of \"user\" license for username: \"" + name + "\", email: \"" + email + "\", User-GUID: \"" + guid + "\"? Y/n");