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

Add script to detect Python and install it if not #26

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

cyberkitsune
Copy link
Owner

@cyberkitsune cyberkitsune commented Apr 28, 2023

This PR adds a new batch script that will:

  • Run a python test script that ideally should exit with code 3
  • If it doesn't, we assume python is broken / not installed
  • If python isn't installed, we use winget (if present) to try and install it off of the windows store.

So far this has worked for me in a Windows 10 VM. Looking for feedback before merging this though, really wanna see if it falls down on other systems. Feel free to cherry pick or download from the branch here (you will need to make a folder called .git to prevent it from auto-updating) to test it.

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.

1 participant