From b1f0aca9aced8892d43f1f8f6adbe1fc3bc63307 Mon Sep 17 00:00:00 2001 From: AllanCapistrano Date: Thu, 27 Jul 2023 09:33:55 -0300 Subject: [PATCH] feat: using remote update.sh --- cmd/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/update.go b/cmd/update.go index 4383b25..68b683c 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -25,7 +25,7 @@ var updateCmd = &cobra.Command{ GBC_VERSION, ) - commandString := "./scripts/update.sh" // TODO: Change command + commandString := `bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/AllanCapistrano/gbc/feat/updater/scripts/update.sh)"` command := exec.Command("/bin/bash", "-c", commandString) err := command.Run()