unknown-cli 0.9.10__tar.gz → 0.9.12__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 (23) hide show
  1. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/PKG-INFO +1 -1
  2. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/PKG-INFO +1 -1
  3. unknown-cli-0.9.12/unknowncli/VERSION +1 -0
  4. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/commands/project.py +1 -1
  5. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/utils.py +0 -7
  6. unknown-cli-0.9.10/unknowncli/VERSION +0 -1
  7. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/README.md +0 -0
  8. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/setup.cfg +0 -0
  9. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/setup.py +0 -0
  10. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/SOURCES.txt +0 -0
  11. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/dependency_links.txt +0 -0
  12. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/entry_points.txt +0 -0
  13. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/requires.txt +0 -0
  14. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknown_cli.egg-info/top_level.txt +0 -0
  15. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/__init__.py +0 -0
  16. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/__main__.py +0 -0
  17. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/commands/__init__.py +0 -0
  18. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/commands/preflight.py +0 -0
  19. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/commands/task.py +0 -0
  20. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/commands/unreal.py +0 -0
  21. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/data/.p4ignore.txt +0 -0
  22. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/set_registry_keys.py +0 -0
  23. {unknown-cli-0.9.10 → unknown-cli-0.9.12}/unknowncli/set_url_handler.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown-cli
3
- Version: 0.9.10
3
+ Version: 0.9.12
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown-cli
3
- Version: 0.9.10
3
+ Version: 0.9.12
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -0,0 +1 @@
1
+ 0.9.12
@@ -224,7 +224,7 @@ def setup(
224
224
  else:
225
225
  computer_name = input
226
226
  for stream_name, stream in STREAMS.items():
227
- mapping = os.path.join(root_path, stream_name)
227
+ mapping = os.path.join(root_path, os.sep if root_path.endswith(":") else "", stream_name)
228
228
  found = False
229
229
  for r in all_client_specs:
230
230
  root = r["Root"].lower()
@@ -5,7 +5,6 @@ import botocore.session
5
5
  from datetime import datetime, timedelta
6
6
  import requests
7
7
  import click
8
- import ctypes
9
8
  import typer
10
9
  import configparser
11
10
  import logging
@@ -240,12 +239,6 @@ def check_version():
240
239
  if (v != my_version):
241
240
  upgrade_cmd = "pip install unknown-cli -U"
242
241
  secho(f"\nVersion {v} of this tool is available while you are on version {my_version}.", fg="yellow")
243
-
244
- is_admin = ctypes.windll.shell32.IsUserAnAdmin()
245
- if not is_admin:
246
- secho(f"Upgrade suggested, run any unk command again in an administrator prompt or run this manually: {upgrade_cmd}.", fg="yellow")
247
- return
248
-
249
242
  if confirm("(RECOMMENDED) Upgrade now?", prompt_suffix=""):
250
243
  if call(f"{sys.executable} -m {upgrade_cmd}") != 0:
251
244
  abort(f"Upgrade failed, please try posting this in Slack, or try running the command manually: {upgrade_cmd}")
@@ -1 +0,0 @@
1
- 0.9.10
File without changes
File without changes
File without changes