mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 04:43:25 +00:00 
			
		
		
		
	Cleanup code
This commit is contained in:
		
							parent
							
								
									ddf67ec706
								
							
						
					
					
						commit
						52fabd9a95
					
				|  | @ -39,7 +39,7 @@ internal class Program | ||||||
|             Int16 storage = 0; |             Int16 storage = 0; | ||||||
| 
 | 
 | ||||||
|             Boolean validGuid = false, validInstallid = false; |             Boolean validGuid = false, validInstallid = false; | ||||||
|             Guid guid = new(), installid = new(); |             Guid guid = Guid.Empty, installid = Guid.Empty; | ||||||
| 
 | 
 | ||||||
|             config.OnExecute(() => |             config.OnExecute(() => | ||||||
|             { |             { | ||||||
|  | @ -64,7 +64,7 @@ internal class Program | ||||||
|                         licenseType = "user"; |                         licenseType = "user"; | ||||||
|                         Console.WriteLine("Okay, we will generate a user license."); |                         Console.WriteLine("Okay, we will generate a user license."); | ||||||
| 
 | 
 | ||||||
|                         while (validGuid == false) |                         while (!validGuid) | ||||||
|                         { |                         { | ||||||
|                             Console.WriteLine("Please provide the user's guid — refer to the Readme for details on how to retrieve this. [GUID]: "); |                             Console.WriteLine("Please provide the user's guid — refer to the Readme for details on how to retrieve this. [GUID]: "); | ||||||
|                             buff = Console.ReadLine(); |                             buff = Console.ReadLine(); | ||||||
|  | @ -78,7 +78,7 @@ internal class Program | ||||||
|                         licenseType = "org"; |                         licenseType = "org"; | ||||||
|                         Console.WriteLine("Okay, we will generate an organization license."); |                         Console.WriteLine("Okay, we will generate an organization license."); | ||||||
| 
 | 
 | ||||||
|                         while (validInstallid == false) |                         while (!validInstallid) | ||||||
|                         { |                         { | ||||||
|                             Console.WriteLine("Please provide your Bitwarden Install-ID — refer to the Readme for details on how to retrieve this. [Install-ID]: "); |                             Console.WriteLine("Please provide your Bitwarden Install-ID — refer to the Readme for details on how to retrieve this. [Install-ID]: "); | ||||||
|                             buff = Console.ReadLine(); |                             buff = Console.ReadLine(); | ||||||
|  | @ -442,4 +442,4 @@ internal class Program | ||||||
|             type.GetProperty(name)?.SetValue(license, value); |             type.GetProperty(name)?.SetValue(license, value); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user