From 8756b7f695f179a39dd448a8820cb40097f9606c Mon Sep 17 00:00:00 2001 From: AllanCapistrano Date: Sat, 29 Jul 2023 16:00:24 -0300 Subject: [PATCH] fix: gbc version --- scripts/install-termux.sh | 17 +++++++++++++++++ scripts/install.sh | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 scripts/install-termux.sh 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.