Skip to content

[Bug]skill目录读取在windows系统上存在问题,导致技能目录下的文件有大概率无法识别 #6477

@linzhengtian

Description

@linzhengtian

What happened / 发生了什么

skill目录读取在windows系统上存在问题,导致技能目录下的文件有大概率无法识别,
建议修改_build_skill_read_command_example这个函数,用于兼容windows系统。

Reproduce / 如何复现?

windows系统下,会话窗口识别skill文件路径

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

astrbot lancher 部署v4.20.0

OS

Windows

Logs / 报错日志

Image

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions