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

x.ps1: remove the check for Python from Windows Store #117069

Merged
merged 1 commit into from
Oct 23, 2023

Commits on Oct 23, 2023

  1. x.ps1: remove the check for Python from Windows Store

    When installing Python from the Windows Store, a copy of `python.exe` is
    installed inder the Microsoft directory in the user's local AppData
    directory. Currently, `x.ps1` checks for this file, because by default
    running `python.exe` opens a link to the Microsoft Store rather than
    running Python.
    
    Once the user installs Python, however, this contains a valid
    interpreter. Unfortuantely, `x.ps1` can't tell the difference between a
    legitimate Python install and the stub.
    
    Remove the check, as it makes it impossible to use the official version
    from Microsoft once it has been installed.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
    xobs committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    1f9f041 View commit details
    Browse the repository at this point in the history