Skip to content

Conversation

elysia-best
Copy link

@elysia-best elysia-best commented Sep 17, 2025

fixes #107
may also fix #74

BREAKING CHANGE: data dir changed. Users may need to move the data dir manually.

@elysia-best elysia-best changed the title fix: update log and data dirs for linux and windows !fix: update log and data dirs for linux and windows Sep 17, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the data and log directory paths for Linux and Windows platforms to follow platform-specific conventions, replacing the previous generic approach.

  • Implements platform-specific data directory paths using XDG Base Directory specification for Linux and APPDATA for Windows
  • Updates log directory resolution to use the new platform-specific data directories
  • Consolidates directory logic by removing platform-specific branches in favor of unified data directory usage

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@elysia-best elysia-best changed the title !fix: update log and data dirs for linux and windows fix!: update log and data dirs for linux and windows Sep 17, 2025
@elysia-best elysia-best requested a review from cxw620 September 20, 2025 15:10
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.

[错误] Linux下data dir获取问题 [错误] 必须使用 root 权限执行

2 participants