mirror of
https://github.com/Z4nzu/hackingtool
synced 2026-05-23 08:58:22 +00:00
fix(core): use [warning] markup in uninstall() to match install() style
Uninstall commands were printed in red ([error]) which falsely implied a failure. Changed to [warning] (yellow) to be consistent with how install() displays commands — informational, not alarming. Fixes #662
This commit is contained in:
parent
01a51bbca6
commit
8bde0cbfab
1 changed files with 1 additions and 1 deletions
2
core.py
2
core.py
|
|
@ -225,7 +225,7 @@ class HackingTool:
|
|||
if self.before_uninstall():
|
||||
if isinstance(self.UNINSTALL_COMMANDS, (list, tuple)):
|
||||
for cmd in self.UNINSTALL_COMMANDS:
|
||||
console.print(f"[error]→ {cmd}[/error]")
|
||||
console.print(f"[warning]→ {cmd}[/warning]")
|
||||
os.system(cmd)
|
||||
self.after_uninstall()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue