initial commit

This commit is contained in:
VineFeeder
2025-08-26 10:52:24 +01:00
parent 1034a6c18c
commit 7fd9ddac63
4 changed files with 16 additions and 26 deletions
@@ -40,12 +40,11 @@ class BaseLoader:
myconfig, _ = load_config_with_fallback()
self.BATCH_DOWNLOAD = myconfig['BATCH_DOWNLOAD']
#self.DOWNLOAD_ORCHESTRATOR = myconfig['DOWNLOAD_ORCHESTRATOR']
self.TERMINAL_RESET = myconfig['TERMINAL_RESET']
def reset_terminal(self):
if self.DOWNLOAD_ORCHESTRATOR == "envied" and not self.BATCH_DOWNLOAD:
if not self.BATCH_DOWNLOAD:
if os.name == 'nt': # Windows
os.system('cls')
# Optionally, reinitialize ANSI or console buffer here if needed
@@ -406,16 +405,12 @@ class BaseLoader:
def clean_terminal(self):
# clear for next use
time.sleep(1)
if self.TERMINAL_RESET:
console.print(f"[{catppuccin_mocha['text2']}]Preparing to reset Terminal[/]")
time.sleep(5)
self.reset_terminal()
'''if os.name == "posix":
# os.system('clear')
print("Ready!")
return
else:
reset_terminal()
print("Ready!")
return'''
console.print(f"[{catppuccin_mocha['pink']}]Ready![/]")
def runsubprocess(self, command):
@@ -1,6 +1,5 @@
BATCH_DOWNLOAD: False
DOWNLOAD_ORCHESTRATOR: envied
# Set to True if up/down cursor arrows stop working in the
# Terminal window after unschackle has downloaded.
# Terminal window after envied has downloaded.
TERMINAL_RESET: False
@@ -1,9 +0,0 @@
beaupy
click
httpx
jmespath
PyQt6
PyQt6_sip
PyYAML
rich
Scrapy