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 << "Checking for updates..." << std::endl;
|
||||
|
||||
|
||||
// Check version using the /version endpoint
|
||||
// The simple-object-server returns JSON: {"result":"success","version":"YYYY.MMDD.HHMM"}
|
||||
std::string version_url = "https://getbin.xyz/version/dropshell:latest-" + arch;
|
||||
|
@@ -76,6 +76,7 @@ namespace dropshell
|
||||
{
|
||||
dest_ << RESET;
|
||||
at_line_start_ = true;
|
||||
dest_ << std::flush;
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
Reference in New Issue
Block a user