diff --git a/scripts/install-termux.sh b/scripts/install-termux.sh new file mode 100644 index 0000000..ad13ed3 --- /dev/null +++ b/scripts/install-termux.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Downloading the necessary files. +curl -LO https://github.com/AllanCapistrano/gbc/releases/download/v1.1.2/gbc +curl -O https://raw.githubusercontent.com/AllanCapistrano/gbc/main/config/gbc.conf + +# Creating the config directory for gbc. +mkdir -p $HOME/.config/gbc + +# Moving the CLI and settings file. +mv gbc $PATH +mv gbc.conf $HOME/.config/gbc + +# Giving permission to run the CLI. +chmod +x $PATH/gbc + +gbc --help \ No newline at end of file diff --git a/scripts/install.sh b/scripts/install.sh index 8fd4d2c..0a0364c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,7 +1,7 @@ #!/bin/bash # Downloading the necessary files. -curl -LO https://github.com/AllanCapistrano/gbc/releases/download/v1.1.2/gbc +curl -LO https://github.com/AllanCapistrano/gbc/releases/download/v1.2.0/gbc curl -O https://raw.githubusercontent.com/AllanCapistrano/gbc/main/config/gbc.conf # Creating the config directory for gbc.