Compare commits

..

2 Commits
v37 ... main

Author SHA1 Message Date
Your Name
a01e9f9856 bb64 release v39 2025-05-19 00:22:38 +12:00
Your Name
745c7a8c9c bb64 release v38 2025-05-18 23:42:35 +12:00
3 changed files with 14 additions and 7 deletions

View File

@ -149,6 +149,8 @@ Usage:
bb64 -u Updates bb64 to the latest version (uses docker) bb64 -u Updates bb64 to the latest version (uses docker)
bb64 -v Prints the version number
)" << std::endl; )" << std::endl;
return -1; return -1;
} }
@ -159,6 +161,11 @@ Usage:
{ {
if (mode == "-u") if (mode == "-u")
return update_bb64(); return update_bb64();
else if (mode == "-v")
{
std::cout << VERSION << std::endl;
return 0;
}
else if (mode == "-e") else if (mode == "-e")
{ {
std::ostringstream oss; std::ostringstream oss;

View File

@ -61,9 +61,9 @@ rm "$TMPDIR/bb64"
# 6. Print success message # 6. Print success message
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
echo "bb64 installed successfully to $INSTALL_DIR/bb64 (arch $ARCH)" echo "bb64 installed successfully to $INSTALL_DIR/bb64 (arch $ARCH)"
echo " " # echo " "
echo "Update bb64 with:" # echo "Update bb64 with:"
echo " bb64 -u" # echo " bb64 -u"
echo " " # echo " "
echo "try it out with:" # echo "try it out with:"
echo " bb64 ZWNobyAiSGVsbG8td29ybGQhIGJiNjQgaXMgd29ya2luZy4i" # echo " bb64 ZWNobyAiSGVsbG8td29ybGQhIGJiNjQgaXMgd29ya2luZy4i"

View File

@ -1 +1 @@
static const char *VERSION = "37"; static const char *VERSION = "39";