Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a01e9f9856 | ||
![]() |
745c7a8c9c | ||
![]() |
78e3a9af97 | ||
![]() |
97582f0381 |
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -63,6 +63,7 @@
|
|||||||
"typeinfo": "cpp",
|
"typeinfo": "cpp",
|
||||||
"variant": "cpp",
|
"variant": "cpp",
|
||||||
"format": "cpp",
|
"format": "cpp",
|
||||||
"__nullptr": "cpp"
|
"__nullptr": "cpp",
|
||||||
|
"codecvt": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
7
bb64.cpp
7
bb64.cpp
@ -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;
|
||||||
|
12
install.sh
12
install.sh
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user