idm-cli 1.1.2__tar.gz → 1.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {idm_cli-1.1.2/idm_cli.egg-info → idm_cli-1.1.4}/PKG-INFO +1 -1
  2. idm_cli-1.1.4/idm_cli/__init__.py +3 -0
  3. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/update_checker.py +2 -10
  4. {idm_cli-1.1.2 → idm_cli-1.1.4/idm_cli.egg-info}/PKG-INFO +1 -1
  5. idm_cli-1.1.2/idm_cli/__init__.py +0 -3
  6. {idm_cli-1.1.2 → idm_cli-1.1.4}/LICENSE +0 -0
  7. {idm_cli-1.1.2 → idm_cli-1.1.4}/MANIFEST.in +0 -0
  8. {idm_cli-1.1.2 → idm_cli-1.1.4}/README.md +0 -0
  9. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/cli.py +0 -0
  10. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/downloader.py +0 -0
  11. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/__init__.py +0 -0
  12. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/direct.py +0 -0
  13. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/facebook.py +0 -0
  14. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/instagram.py +0 -0
  15. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/youtube.py +0 -0
  16. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/muxer.py +0 -0
  17. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/state.py +0 -0
  18. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/SOURCES.txt +0 -0
  19. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/dependency_links.txt +0 -0
  20. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/entry_points.txt +0 -0
  21. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/requires.txt +0 -0
  22. {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/top_level.txt +0 -0
  23. {idm_cli-1.1.2 → idm_cli-1.1.4}/requirements.txt +0 -0
  24. {idm_cli-1.1.2 → idm_cli-1.1.4}/setup.cfg +0 -0
  25. {idm_cli-1.1.2 → idm_cli-1.1.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idm-cli
3
- Version: 1.1.2
3
+ Version: 1.1.4
4
4
  Summary: A lightning-fast, universal command-line download manager
5
5
  Home-page: https://github.com/rj41-w2/idm-cli
6
6
  Author: Rehan
@@ -0,0 +1,3 @@
1
+ # IDM-CLI Package
2
+
3
+ __version__ = "1.1.4"
@@ -55,16 +55,8 @@ def check_for_updates():
55
55
  console = Console()
56
56
  console.print(f"\n[bold yellow]A new version of IDM-CLI ({latest_version}) is available![/bold yellow]")
57
57
 
58
- # Prompt user
59
- answer = questionary.confirm(
60
- "A new version is available! Would you like to update now?",
61
- default=True
62
- ).ask(kbi_msg="")
63
-
64
- if answer:
65
- subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", "idm-cli"])
66
- print("Update successful! Please restart IDM-CLI.")
67
- sys.exit(0)
58
+ console.print("\n[bold cyan]Please close this app and run the following command in your terminal to update:[/bold cyan]")
59
+ console.print(" [bold green]pip install --upgrade idm-cli[/bold green]\n")
68
60
 
69
61
  # Finally, write the current time.time() to last_check.json
70
62
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idm-cli
3
- Version: 1.1.2
3
+ Version: 1.1.4
4
4
  Summary: A lightning-fast, universal command-line download manager
5
5
  Home-page: https://github.com/rj41-w2/idm-cli
6
6
  Author: Rehan
@@ -1,3 +0,0 @@
1
- # IDM-CLI Package
2
-
3
- __version__ = "1.1.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes