mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-08-05 11:36:23 -05:00

* Checks if password exists for the user, if it doesn't the user is prompted to create one. It checks if the password is equal to $null using `ValidateCredentials` and if it isn't the variable will be created. If it is equal to $null, a window with text, a textbox and a button will appear asking the user to create a password. That password is then set for the user and the winget installation continues. * Made this a little more secure Securing the password variable when it gets created and deleting it after it's done being used. * Forces the user to input their password and automatically puts their username into the credentials box * Removed the second greater than 0 check