Skip to content

Commit

Permalink
Added cmd prompt and fixed install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thehappydinoa committed Feb 11, 2018
1 parent 7c551f6 commit b41feeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion fsociety.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def __init__(self):
elif choice == "99":
sys.exit()
else:
self.__init__()
try:
print(os.system(choice))
except:
self.__init__()
self.completed()

def githubContributors(self):
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ echo "[✔] Installing ...";
echo "";
git clone https://github.com/Manisso/fsociety "$INSTALL_DIR";
echo "#!$BASH_PATH
python $INSTALL_DIR/fsociety.py" '${1+"$@"}' > fsociety;
python $INSTALL_DIR/fsociety.py" '${1+"$@"}' > "$INSTALL_DIR/fsociety";
chmod +x fsociety;
if [ "$TERMUX" = true ]; then
cp fsociety "$BIN_DIR"
Expand Down

0 comments on commit b41feeb

Please sign in to comment.