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.
- {idm_cli-1.1.2/idm_cli.egg-info → idm_cli-1.1.4}/PKG-INFO +1 -1
- idm_cli-1.1.4/idm_cli/__init__.py +3 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/update_checker.py +2 -10
- {idm_cli-1.1.2 → idm_cli-1.1.4/idm_cli.egg-info}/PKG-INFO +1 -1
- idm_cli-1.1.2/idm_cli/__init__.py +0 -3
- {idm_cli-1.1.2 → idm_cli-1.1.4}/LICENSE +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/MANIFEST.in +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/README.md +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/cli.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/downloader.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/__init__.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/direct.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/facebook.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/instagram.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/extractors/youtube.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/muxer.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli/state.py +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/SOURCES.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/dependency_links.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/entry_points.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/requires.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/idm_cli.egg-info/top_level.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/requirements.txt +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/setup.cfg +0 -0
- {idm_cli-1.1.2 → idm_cli-1.1.4}/setup.py +0 -0
|
@@ -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
|
-
|
|
59
|
-
|
|
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:
|
|
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
|
|
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
|