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:
AviArora02-commits 2026-04-24 20:57:23 +05:30
parent 01a51bbca6
commit 8bde0cbfab

View file

@ -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()