diff --git a/bb64.cpp b/bb64.cpp index 2ff8f0a..44a7fad 100644 --- a/bb64.cpp +++ b/bb64.cpp @@ -54,11 +54,9 @@ int update_bb64() // determine path to this executable std::filesystem::path bb64_path = std::filesystem::canonical("/proc/self/exe"); - std::cout << "bb64 path: " << bb64_path << std::endl; // determine the architecture of the system std::string arch = get_arch(); - std::cout << "arch: " << arch << std::endl; std::string url = "https://gitea.jde.nz/j/bb64/releases/download/latest/bb64." + arch; @@ -69,8 +67,10 @@ int update_bb64() bash_script += " curl -fsSL " + url + " -o /target/bb64 &&"; bash_script += " chmod +x /target/bb64\""; - std::cout << "bash_script: " << std::endl - << bash_script << std::endl; + std::cout << "Updating " << bb64_path << " to the latest " << arch << " version." << std::endl; + + // std::cout << "bash_script: " << std::endl + // << bash_script << std::endl; // run the bash script execlp("bash", "bash", "-c", bash_script.c_str(), (char *)nullptr); diff --git a/version.h b/version.h index 0f3f517..48ada14 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -static const char *VERSION = "19"; +static const char *VERSION = "20";