Last active
May 16, 2020 22:38
-
-
Save hradec/7336d8cfcfd56451a7eb9c4431414f7b to your computer and use it in GitHub Desktop.
run ue4-docker without installing anything!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ ! -e env/bin/ue4-docker ] ; then | |
| python3 -m venv env | |
| source env/bin/activate | |
| pip3 install ue4-docker | |
| deactivate | |
| fi | |
| source env/bin/activate | |
| ue4-docker "$@" | |
| deactivate |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this gist as ue4-docker,
chmod a+xit and use as you normally would use ue4-docker. ex:It will self-install the actual ue4-docker in a python virtual environment in the current folder, and run ue4docker from it.
You only need to have python 3 installed.