Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(install): Use 'Get-Command' to test scoop install status #4785

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

niheaven
Copy link
Member

@niheaven niheaven commented Mar 8, 2022

Description

installed now use Get-CurrentVersion from versions.ps1 which is not downloaded during installation. Use Get-Command instead (from ScoopInstall/Install)

Motivation and Context

Closes #4783

How Has This Been Tested?

Tested in Windows SandBox

image

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@niheaven niheaven closed this Mar 8, 2022
@niheaven niheaven reopened this Mar 8, 2022
@niheaven niheaven requested a review from a team March 8, 2022 09:43
@niheaven
Copy link
Member Author

niheaven commented Mar 8, 2022

After this temporary hotfix, we should move https://github.com/ScoopInstaller/Install/blob/master/install.ps1 to Core repo while get.scoop.sh still points here. (Maybe the move should be made in the next release after adopting recent shim changes)

@rashil2000
Copy link
Member

Should sync develop with master after merging this

@niheaven niheaven merged commit 7d5a47c into master Mar 8, 2022
@niheaven niheaven deleted the fix-install branch March 8, 2022 13:01
@niheaven
Copy link
Member Author

niheaven commented Mar 8, 2022

Synced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Installing Scoop fails: "The term 'Select-CurrentVersion' is not recognized"
3 participants