Fix version comparison logic in update check and improve category organization
This commit is contained in:
parent
56e77c19b1
commit
f58f0445ca
@ -82,6 +82,7 @@ class YouTubeCLI:
|
||||
|
||||
# Simple version comparison (basic implementation)
|
||||
# In a real implementation, you'd want a more robust version comparison
|
||||
# Check if versions are different
|
||||
if current_version != latest_version:
|
||||
console.print(f"[yellow]Newer version available: {latest_version} (current: {current_version})[/yellow]")
|
||||
console.print("[blue]Would you like to update? (y/n): [/blue]", end="")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user