Skip to content

issue-248: XDG dirs and agent path fixes#251

Open
ayuayue wants to merge 1 commit intomainfrom
issuse-248
Open

issue-248: XDG dirs and agent path fixes#251
ayuayue wants to merge 1 commit intomainfrom
issuse-248

Conversation

@ayuayue
Copy link
Copy Markdown
Collaborator

@ayuayue ayuayue commented Mar 15, 2026

Summary

  • 统一 DebugTools 配置/缓存目录为 XDG 风格路径(默认 .config/.cache/.local)
  • 修复删除 .cache/DebugTools 后 lib 目录无法重建的问题
  • 修复 debug-tools-attach 打包时复制 agent jar 的硬编码路径,跨平台可用

Changes

  • 新增 DebugToolsPathUtils 统一路径解析
  • lib/临时依赖 -> XDG cache;配置/auto_attach -> XDG config
  • createTempDir 改用 mkdirsSafely,避免父目录缺失导致失败
  • debug-tools-attach/pom.xml 改为相对路径复制 agent jar

Related

Fixes #248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DebugTools配置文件能否遵循XDG标准

1 participant