This commit is contained in:
2018-09-02 11:21:24 -07:00
parent 547eb3f4fa
commit d2ed189d2b
4 changed files with 172 additions and 192 deletions

View File

@@ -11,7 +11,7 @@ class ProgressBar {
public static function display($message = null) {
$string = "PROGRESS:".round((self::$done/self::$total)*100,2);
if ($message) {
return "\t".$string."\n".$message;
return "\n".$string."\n".$message;
} elseif (!strpos(__FILE__,".app")) {
return "\r\033[K\r".$string;
} else {