Skip to content

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

Open
cyberkitsune wants to merge 5 commits into
mainfrom
feat/python-install-helper
Open

Add script to detect Python and install it if not#26
cyberkitsune wants to merge 5 commits into
mainfrom
feat/python-install-helper

Conversation

@cyberkitsune
Copy link
Copy Markdown
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