mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-08 03:18:35 +03:00
@@ -4,7 +4,7 @@ from octosuite.config import red, white, green, reset, Tree
|
||||
|
||||
# banner.py
|
||||
# This file holds the program's banner and version tag
|
||||
version_tag = "3.2.0"
|
||||
version_tag = "3.1.1"
|
||||
|
||||
|
||||
def banner():
|
||||
|
||||
@@ -78,9 +78,10 @@ def check_updates():
|
||||
if response['tag_name'] == version_tag:
|
||||
pass
|
||||
else:
|
||||
markdown_text = response['body']
|
||||
release_notes = Markdown(markdown_text)
|
||||
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}).\n\n{release_notes}\n\nRun 'pip install --upgrade octosuite' to get the updates.\n")
|
||||
raw_release_notes = response['body']
|
||||
markdown_release_notes = Markdown(raw_release_notes)
|
||||
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}). Run 'pip install --upgrade octosuite' to get the updates.\n")
|
||||
xprint(markdown_release_notes)
|
||||
|
||||
|
||||
def list_dir_and_files():
|
||||
|
||||
Reference in New Issue
Block a user