Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd ~
- mkdir .workman
- cd .workman
- mkdir {bin,src,spec,installs}
- cd src
- curl -s -o- http://workman-pack.glitch.me/workman.py
- #install pyinstaller
- echo "For compilation, what do you use?\n"
- echo " 1) PIP"
- echo " 2) PIP3"
- read -p ">" xo
- if [ xo = "1" ]
- pip install --user pyinstaller
- else
- pip3 install --user pyinstaller
- fi
- clear
- read -p "PyInstaller has been installed successfully. WorkMan Source Code has been added to $HOME/.workman/src/. Press enter to continue with compilation." paguieuwihiwcnreneidfrd # random set of characters to make sure that this shall NEVER be used to read input
- cd ..
- pyinstaller -D bin --specpath spec -n workman src
- clear
- export PATH="$PATH:$HOME/.workman/bin"
- echo "export PATH=\"$PATH:$HOME/.workman/bin\"" >> .bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement