From 67691fbc711b93d4601a093a93fb6c803d13886e Mon Sep 17 00:00:00 2001 From: hiddify Date: Sat, 27 Jan 2024 10:53:18 +0100 Subject: [PATCH] =?UTF-8?q?release:=20version=201.7.0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HISTORY.md | 84 +++++++++++++++++++++++++++++++++++++ cli_progress/VERSION | 2 +- cli_progress/progress_ui.py | 3 ++ 3 files changed, 88 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index e69de29..82dd112 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -0,0 +1,84 @@ +Changelog +========= + + +1.6.0 (2024-01-21) +------------------ + +Fix +~~~ +- Bug in key. [Hiddify] + +Other +~~~~~ +- Release: version 1.6.0 🚀 [Hiddify] + + +1.5.0 (2024-01-21) +------------------ + +Fix +~~~ +- Bug in ansi long text. [Hiddify] + +Other +~~~~~ +- Release: version 1.5.0 🚀 [Hiddify] + + +1.4.0 (2024-01-21) +------------------ + +Fix +~~~ +- Long text. [Hiddify] + +Other +~~~~~ +- Release: version 1.4.0 🚀 [Hiddify] + + +1.3.0 (2024-01-21) +------------------ + +Fix +~~~ +- Bug. [Hiddify] + +Other +~~~~~ +- Release: version 1.3.0 🚀 [Hiddify] + + +1.2.0 (2024-01-21) +------------------ + +New +~~~ +- Add exit code. [Hiddify] + +Other +~~~~~ +- Release: version 1.2.0 🚀 [Hiddify] + + +1.1.0 (2024-01-21) +------------------ + +Fix +~~~ +- Typo. [Hiddify] + +Other +~~~~~ +- Release: version 1.1.0 🚀 [Hiddify] +- Format the files. [Hiddify] + + +1.0.0 (2024-01-21) +------------------ +- Release: version 1.0.0 🚀 [Hiddify] +- ✅ Ready to clone and code. [hiddify-com] +- Initial commit. [Hiddify] + + diff --git a/cli_progress/VERSION b/cli_progress/VERSION index dc1e644..bd8bf88 100644 --- a/cli_progress/VERSION +++ b/cli_progress/VERSION @@ -1 +1 @@ -1.6.0 +1.7.0 diff --git a/cli_progress/progress_ui.py b/cli_progress/progress_ui.py index 0317960..1ff0a1b 100644 --- a/cli_progress/progress_ui.py +++ b/cli_progress/progress_ui.py @@ -6,6 +6,8 @@ import signal import subprocess import sys +import os +from pathlib import Path import urwid from twisted.internet import threads @@ -136,6 +138,7 @@ def handle_progress(self, progress: int, title: str, subtitle: str): ) def start(self): + os.makedirs(Path(self.logpath).parent.absolute(),exist_ok=True) with open(self.logpath, "w") as self.logfile: self.proc = subprocess.Popen( self.cmds,