Skip to content

Hardcode exe returned for windows store envs #86

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

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Conversation

DonJayamanne
Copy link
Collaborator

No description provided.

exes: &Option<Vec<PathBuf>>,
) -> Option<PathBuf> {
// For windows store, the exe should always be the one in the WindowsApps folder.
if *category == PythonEnvironmentCategory::WindowsStore {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harcoded for windows store

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DonJayamanne DonJayamanne marked this pull request as ready for review July 3, 2024 08:41
@DonJayamanne DonJayamanne enabled auto-merge (squash) July 3, 2024 08:41
@@ -63,14 +63,15 @@ impl PotentialPython {
} else {
None
})
.version(Some(self.version.clone()))
// We only have the partial version, no point returning bogus info.
// .version(Some(self.version.clone()))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another change to never return bogus information (partial version != valid data)
And Pet does best effort to get valid/accurate data, or nothing at all.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vscodenpa vscodenpa added this to the July 2024 milestone Jul 3, 2024
@DonJayamanne DonJayamanne merged commit f33a69b into main Jul 3, 2024
21 checks passed
@DonJayamanne DonJayamanne deleted the fixWindowsStore branch July 3, 2024 09:21
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.

3 participants