Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
devicewhite committed Oct 27, 2023
1 parent 148eabd commit 3da2a38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ echo -e "\b\b\b\033[1m\033[37mOK\033[32m]"

echo -en "\033[1m\033[32m[\033[37m+\033[32m] \033[33mBaixando repositorio pawn-lang/compiler........ \033[32m[\033[37m**\033[32m]"
git clone https://github.com/pawn-lang/compiler $HOME/compiler -q
mv $HOME/Termux-Pawn/pawncc.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/amxcons.c $HOME/compiler/source/amx/ &> /dev/null
mv $HOME/Termux-Pawn/prun3.c $HOME/compiler/source/amx/pawnrun/ &> /dev/null
mv $HOME/Termux-Pawn/source/pawncc.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/source/amxcons.c $HOME/compiler/source/amx/ &> /dev/null
mv $HOME/Termux-Pawn/source/prun3.c $HOME/compiler/source/amx/pawnrun/ &> /dev/null
echo -e "\b\b\b\033[1m\033[37mOK\033[32m]"

# Sugerir Tradução
echo -en "\033[1m\033[32m[\033[37m+\033[32m] \033[35mDeseja instalar o compilador traduzido? (BETA) \033[37m[y/N] "
read translate

if [ "$translate" = "y" ] || [ "$translate" = "Y" ]; then
mv $HOME/Termux-Pawn/libpawnc.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/sc1.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/sc5.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/source/libpawnc.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/source/sc1.c $HOME/compiler/source/compiler/ &> /dev/null
mv $HOME/Termux-Pawn/source/sc5.c $HOME/compiler/source/compiler/ &> /dev/null
fi

# Construir o Compilador
Expand Down

0 comments on commit 3da2a38

Please sign in to comment.