lingshu-skill 5.69.0 → 5.70.0
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.
- package/CHANGELOG.md +21 -0
- package/SKILL-lite.md +1 -1
- package/SKILL-tiny.md +1 -1
- package/SKILL.md +1 -1
- package/manifest.json +15 -15
- package/package.json +1 -1
- package/scripts/astrbot_plugin_lingshu/CHECKSUMS.json +6 -6
- package/scripts/astrbot_plugin_lingshu/engine/CHANGELOG.md +21 -0
- package/scripts/astrbot_plugin_lingshu/engine/SKILL-lite.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/SKILL-tiny.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/SKILL.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/scripts/desktop_shortcut.py +10 -1
- package/scripts/astrbot_plugin_lingshu/engine/scripts/growth.py +5629 -5575
- package/scripts/desktop_shortcut.py +10 -1
- package/scripts/growth.py +5629 -5575
- package/scripts/run_tests.py +240 -171
- package/scripts/update_dsh_copy.ps1 +42 -6
|
@@ -30,7 +30,16 @@ def _pythonw() -> str:
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def _desktop_dir() -> Path:
|
|
33
|
-
"""桌面真实路径:先读注册表 Shell Folders,再退回 USERPROFILE\\Desktop。
|
|
33
|
+
"""桌面真实路径:先读注册表 Shell Folders,再退回 USERPROFILE\\Desktop。
|
|
34
|
+
|
|
35
|
+
LS-145(v5.70):测试隔离——设置 LINGSHU_TEST_DESKTOP_DIR 时直接用它,
|
|
36
|
+
绝不在测试中往真实用户桌面写 .lnk。
|
|
37
|
+
"""
|
|
38
|
+
test_override = os.environ.get("LINGSHU_TEST_DESKTOP_DIR", "").strip()
|
|
39
|
+
if test_override:
|
|
40
|
+
p = Path(test_override)
|
|
41
|
+
p.mkdir(parents=True, exist_ok=True)
|
|
42
|
+
return p
|
|
34
43
|
try:
|
|
35
44
|
import winreg
|
|
36
45
|
with winreg.OpenKey(
|