feat: Update 2 files
This commit is contained in:
@@ -339,6 +339,7 @@ complete -F _dropshell_completions ds
|
|||||||
info << "Current version: " << currentver << std::endl;
|
info << "Current version: " << currentver << std::endl;
|
||||||
info << "Checking for updates..." << std::endl;
|
info << "Checking for updates..." << std::endl;
|
||||||
|
|
||||||
|
|
||||||
// Check version using the /version endpoint
|
// Check version using the /version endpoint
|
||||||
// The simple-object-server returns JSON: {"result":"success","version":"YYYY.MMDD.HHMM"}
|
// The simple-object-server returns JSON: {"result":"success","version":"YYYY.MMDD.HHMM"}
|
||||||
std::string version_url = "https://getbin.xyz/version/dropshell:latest-" + arch;
|
std::string version_url = "https://getbin.xyz/version/dropshell:latest-" + arch;
|
||||||
|
@@ -76,6 +76,7 @@ namespace dropshell
|
|||||||
{
|
{
|
||||||
dest_ << RESET;
|
dest_ << RESET;
|
||||||
at_line_start_ = true;
|
at_line_start_ = true;
|
||||||
|
dest_ << std::flush;
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user