应用数据根目录是非 XDG 的 `~/PCLCE`

Open
#3,865 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp, linux
Domain
desktop

Research direction

Search the C# sources for the literal PCLCE path string to find where the data root is assembled, and check how configuration and cache directories are derived from it. Read that path-handling code first to see whether XDG environment variables are already consulted anywhere. Done means main data resolves under $XDG_DATA_HOME, cache under $XDG_CACHE_HOME, and config under $XDG_CONFIG_HOME, with sane fallbacks when the variables are unset.

Written by the indexing model from the issue text.

Description

改为:

  • 主数据 $XDG_DATA_HOME
  • 缓存 $XDG_CACHE_HOME
  • 配置 $XDG_CONFIG_HOME
Dominant language
C#
Stars
4.3k
Forks
148
Avg merge
1d 6h
Merged PRs (30d)
64

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PCL-Community/PCL-CE

All issues in PCL-Community/PCL-CE

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.