ipfs/ipfs-desktop

Multiple "configuration" files

Open

#1,082 创建于 2019年9月4日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)JavaScript (912 fork)batch import
P3help wanted

仓库指标

Star
 (5,632 star)
PR 合并指标
 (平均合并 8天 12小时) (30 天内合并 6 个 PR)

描述

Right now, IPFS Desktop is storing its configuration in two different places:

  1. Here, for both logs and config.json.
  2. ~/.ipfs-desktop for other files such as IPFS_PATH.

@lidel shared his concern on #1079 about it:

Digression: I am worried this separate file will produce bugs in the long run. Additional code is required to keep it in sync with config.json and we need to remember about it. This concern should not block this PR form being merged, just something to think about :)


We're using ~/.ipfs-desktop for things that must be easily accessible from other scripts: it's a well-known location and it works cross-platform!

The application is now small, and the burden of maintenance of this specific topic is not really bug, but might be something to think about in the future!

贡献者指南