Closed SamErde closed 9 months ago
After mostly completing this, I thought it might be better to target the PowerShell Gallery instead of GitHub for version checks. I've worked at orgs that blocked GitHub downloads but didn't actively block the PowerShell Gallery. Thoughts?
Why not both?
Want to minimize the time it takes to run this check on the client.
We'll need to figure out whether to run this automatically or provide a switch to let the user run the check during execution.
... But at this point, it shouldn't be too hard to use the Gallery or GitHub as backup checks for each other in case one check fails.
Compares the installed version of Locksmith to the version on GitHub. If older than [x] days (default is 90), it recommends the user to update. If unable to reach GitHub, it extrapolates the installed version's release date and recommends an update if necessary.
Will submit PR to include this check in main function after testing and validation by the team.