ryry-cli 4.23__tar.gz → 4.24__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.
- {ryry_cli-4.23/ryry_cli.egg-info → ryry_cli-4.24}/PKG-INFO +1 -1
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/constant.py +2 -2
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/main.py +6 -2
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/store.py +1 -1
- {ryry_cli-4.23 → ryry_cli-4.24/ryry_cli.egg-info}/PKG-INFO +1 -1
- {ryry_cli-4.23 → ryry_cli-4.24}/setup.py +1 -1
- {ryry_cli-4.23 → ryry_cli-4.24}/LICENSE +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/README.md +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/__init__.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/daemon_base.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/daemon_manager.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/ryry_server_socket.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/ryry_service.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/ryry_webapi.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/ryry_widget.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/script_template/__init__.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/script_template/daemon.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/script_template/main.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/script_template/run.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/server_func.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/shared_memory.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/task.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/taskUtils.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/upload.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry/utils.py +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry_cli.egg-info/SOURCES.txt +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry_cli.egg-info/dependency_links.txt +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry_cli.egg-info/entry_points.txt +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry_cli.egg-info/requires.txt +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/ryry_cli.egg-info/top_level.txt +0 -0
- {ryry_cli-4.23 → ryry_cli-4.24}/setup.cfg +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import sys, os, urllib3, time, platform, json
|
|
1
|
+
import sys, os, urllib3, time, platform, json
|
|
2
2
|
|
|
3
3
|
from ryry import utils
|
|
4
4
|
from ryry import ryry_service
|
|
@@ -127,7 +127,10 @@ def widget_status(stdscr, idx):
|
|
|
127
127
|
max_task_number_str = ""
|
|
128
128
|
if max_task_number > 0:
|
|
129
129
|
max_task_number_str = f"*{max_task_number}"
|
|
130
|
-
|
|
130
|
+
if platform.system() == 'Windows':
|
|
131
|
+
real_stdsrc(idx, 0, scr_str(f'{f"[{name}{max_task_number_str} v{version}] {it}{end_args}".ljust(maxJust)}'.ljust(ll*3-2)))
|
|
132
|
+
else:
|
|
133
|
+
real_stdsrc(idx, 0, scr_str(f'{f"[{name}{max_task_number_str} v{version}] {it}{end_args}".ljust(maxJust)}'.ljust(ll*3-2)), curses.color_pair(color_pair))
|
|
131
134
|
idx+=1
|
|
132
135
|
real_stdsrc(idx, 0, scr_str(f' PATH:{path}'.ljust(ll*3-2)))
|
|
133
136
|
idx+=1
|
|
@@ -186,6 +189,7 @@ def status():
|
|
|
186
189
|
widget_status(None, 0)
|
|
187
190
|
print(scr_line("-" * ll*3))
|
|
188
191
|
else:
|
|
192
|
+
import curses
|
|
189
193
|
stdscr = curses.initscr()
|
|
190
194
|
curses.noecho()
|
|
191
195
|
curses.cbreak()
|
|
@@ -155,7 +155,7 @@ def extend():
|
|
|
155
155
|
_genExtend()
|
|
156
156
|
elif read_data["extend"].get("device_id", "") != read_data.get("deviceInfo", {}).get("device_id", ""):
|
|
157
157
|
_genExtend()
|
|
158
|
-
elif read_data["extend"].get("app", "") == "ryry-cli 4.
|
|
158
|
+
elif read_data["extend"].get("app", "") == "ryry-cli 4.24":
|
|
159
159
|
_genExtend()
|
|
160
160
|
else:
|
|
161
161
|
_genExtend()
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|