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 a run command #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Anonymous4045
Copy link
Contributor

This PR will add a run command. It will take in a zipped file, extract it, and attempt to execute the game.

This commit adds the `run` command. This will do the following:
- Check if the file is in the right format. If not, it tells what to change, but still tries to run anyway.
- Extract the zip file to a temporary directory.
- Set up a virtual environment.
- Install requirements.
- Display the readme with rich.
- Run the game.
This commit changes the run command behavior to better handle unformatted zip files.
@Anonymous4045
Copy link
Contributor Author

Further testing would be good, as my system is NixOS and lacks a lot of shared libraries, so many games install but fail to run. I did manage to get a few to work fine, including 36/Unseen.

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