umu-commander 1.5.6__py3-none-any.whl → 1.6.0__py3-none-any.whl

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.

Potentially problematic release.


This version of umu-commander might be problematic. Click here for more details.

umu_commander/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION = "v1.5.6"
1
+ VERSION = "v1.6.0"
umu_commander/proton.py CHANGED
@@ -25,7 +25,7 @@ def refresh_proton_versions():
25
25
  if "PROTONPATH" in line and "/" in line:
26
26
  try:
27
27
  left: int = line.rfind("/") + 1
28
- print(f":Latest UMU-Proton: {line[left:len(line) - 1]}.")
28
+ print(f"Latest UMU-Proton: {line[left:len(line) - 1]}.")
29
29
  except ValueError:
30
30
  print("Could not fetch latest UMU-Proton.")
31
31
 
@@ -38,13 +38,10 @@ def create():
38
38
  selected_umu_latest: bool = False
39
39
  proton_ver: ProtonVer = get_selection(
40
40
  "Select Proton version:",
41
- strings_to_values(["Always latest UMU Proton"]),
41
+ None,
42
42
  collect_proton_versions(sort=True),
43
43
  ).as_proton_ver()
44
- if proton_ver.version_num == "Always latest UMU Proton":
45
- selected_umu_latest = True
46
- else:
47
- params["umu"]["proton"] = os.path.join(proton_ver.dir, proton_ver.version_num)
44
+ params["umu"]["proton"] = os.path.join(proton_ver.dir, proton_ver.version_num)
48
45
 
49
46
  # Select DLL overrides
50
47
  possible_overrides: list[DLLOverride] = [
@@ -119,8 +116,7 @@ def create():
119
116
 
120
117
  print(f"Configuration file {config.UMU_CONFIG_NAME} created at {os.getcwd()}.")
121
118
  print(f"Use by running umu-commander run.")
122
- if not selected_umu_latest:
123
- tracking.track(proton_ver, False)
119
+ tracking.track(proton_ver, False)
124
120
  except:
125
121
  print("Could not create configuration file.")
126
122
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: umu-commander
3
- Version: 1.5.6
3
+ Version: 1.6.0
4
4
  Summary: umu-commander is an interactive CLI tool to help you manage umu.
5
5
  Project-URL: Homepage, https://github.com/Mpaxlamitsounas/umu-commander
6
6
  Project-URL: Issues, https://github.com/Mpaxlamitsounas/umu-commander/issues
@@ -41,21 +41,21 @@ To add an extra DLL override option, add a line below the table in the form "`La
41
41
  ### Verbs
42
42
  umu-commander needs one of the following verbs specified after the executable name:
43
43
 
44
- | Name | Description |
45
- |:--------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
46
- | track | Tracks current directory with the selected Proton version.<br/>Also removes it from any other tracking lists. |
47
- | untrack | Removes the current directory from all tracking lists. |
48
- | users | Lists which directories the selected Proton version is tracking. |
49
- | delete | Interactively deletes Proton versions that are currently tracking nothing.<br/>Will not remove the latest UMU-Proton and Proton versions that haven't been used for tracking before.<br/>umu-commander will never delete anything without invoking this verb and confirming. |
50
- | create | Creates an augmented umu config in the current directory.<br/>These configs are compatible with vanilla umu-launcher, although the DLL override functionality won't work. |
51
- | run | Runs a program using the umu config in the current directory. |
44
+ | Name | Description |
45
+ |:----------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
46
+ | `track` | Tracks current directory with the selected Proton version.<br/>Also removes it from any other tracking lists. |
47
+ | `untrack` | Removes the current directory from all tracking lists. |
48
+ | `users` | Lists which directories the selected Proton version is tracking. |
49
+ | `delete` | Interactively deletes Proton versions that are currently tracking nothing.<br/>Will not remove the latest UMU-Proton and Proton versions that haven't been used for tracking before.<br/>umu-commander will never delete anything without invoking this verb and confirming. |
50
+ | `create` | Creates an augmented umu config in the current directory.<br/>These configs are compatible with vanilla umu-launcher, although the DLL override functionality won't work. |
51
+ | `run` | Runs a program using the umu config in the current directory. |
52
52
 
53
53
  ### Installation/Usage
54
54
  Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can use umu-commander by running `umu-commander <verb>`.
55
55
 
56
56
  ### Return codes
57
- | Number | Name | Description |
58
- |:-------|:------------------|:----------------------------------------------------------------|
59
- | 0 | SUCCESS | Program executed as intended. |
60
- | 1 | DECODING_ERROR | Failed to parse a file. |
61
- | 2 | INVALID_SELECTION | User selected an invalid verb or there are no valid selections. |
57
+ | Number | Name | Description |
58
+ |:-------|:--------------------|:----------------------------------------------------------------|
59
+ | 0 | `SUCCESS` | Program executed as intended. |
60
+ | 1 | `DECODING_ERROR` | Failed to parse a file. |
61
+ | 2 | `INVALID_SELECTION` | User selected an invalid verb or there are no valid selections. |
@@ -1,14 +1,14 @@
1
- umu_commander/__init__.py,sha256=THBINIkksJ2OSZ2kpSzyYakqjPzjkKhk4d1XC_2D0NU,19
1
+ umu_commander/__init__.py,sha256=mBSPXDyAxDus9R3AJcl53fzXlTdK4BmOYYGrU2WFk1A,19
2
2
  umu_commander/__main__.py,sha256=Zo5NbQ8lYsmNo7oN3ekeJ5VPyiETcbasEYkfBMkFZ-A,1994
3
3
  umu_commander/classes.py,sha256=3vEC7Iq3buEUaIIJKO1ze57hs9yQ_-9pnkazHkSfcLk,1655
4
4
  umu_commander/configuration.py,sha256=bF_1n_8PQ04GmJZpC1scQ5OBZbsVXPstJ9RGfKE-D5k,2277
5
5
  umu_commander/database.py,sha256=mkBX0e6YEv2dWU2hCMaZwhSD02f_XefW0qbErcVHHYo,1183
6
- umu_commander/proton.py,sha256=g2skvgM4d8mnL9MA3rmYxJOCpODPYyRfIdh4KakNWU8,2553
6
+ umu_commander/proton.py,sha256=K3KhaXxZawOZN84XKhXKP-HkIrW-sLSbMwoKBL2SrAU,2552
7
7
  umu_commander/tracking.py,sha256=WfWeQWnNNK_q-1rFt0HPFNDD8z7VcTCYKI5A_W8xNIg,3113
8
- umu_commander/umu_config.py,sha256=gJsK4g33vtBpfvfSJcQBCoM3zzuWQ9kGX5IUSOFw6ow,4191
8
+ umu_commander/umu_config.py,sha256=4vLoqb88mvPKvrfOlNVLBHzhvzy1Q8HuA5pRVCIRttc,3998
9
9
  umu_commander/util.py,sha256=hTNGK6HN5nHGH5HEA8mUxOM5f2S_IpawHmbhpw2H4ig,3013
10
- umu_commander-1.5.6.dist-info/METADATA,sha256=9CHWg8ULk_UIP71HtnR5dPfG9E2tNkROP9VfShg-I9Q,5365
11
- umu_commander-1.5.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- umu_commander-1.5.6.dist-info/entry_points.txt,sha256=ljyUmDmgCCMm7mQgB1syoWbf_5AiemyrS6YN7eTn9CI,62
13
- umu_commander-1.5.6.dist-info/licenses/LICENSE.txt,sha256=yipFXBRmVZ2Q44x1q18HccPUAECBQLXAOAr21aS57uY,1071
14
- umu_commander-1.5.6.dist-info/RECORD,,
10
+ umu_commander-1.6.0.dist-info/METADATA,sha256=ynVh2wyFwicTj6HM-yEDWA5tRdsexz_qkRriMm4QIvg,5391
11
+ umu_commander-1.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ umu_commander-1.6.0.dist-info/entry_points.txt,sha256=ljyUmDmgCCMm7mQgB1syoWbf_5AiemyrS6YN7eTn9CI,62
13
+ umu_commander-1.6.0.dist-info/licenses/LICENSE.txt,sha256=yipFXBRmVZ2Q44x1q18HccPUAECBQLXAOAr21aS57uY,1071
14
+ umu_commander-1.6.0.dist-info/RECORD,,