仓库指标
- Star
- (5,632 star)
- PR 合并指标
- (平均合并 8天 12小时) (30 天内合并 6 个 PR)
描述
- OS: Windows
- Version of IPFS Desktop: 0.12.2
Describe the bug Installing IPFS Desktop on Windows results in folders in %USERPROFILE% as well as cache and DB files in the roaming profile.
To Reproduce Steps to reproduce the behavior:
- Install IPFS Desktop on Windows
- Notice that you have a
.ipfsand.ipfs-desktopfolder in%USERPROFILE%and%APPDATA/IPFS Desktopcontains cache files, databases, blob storage, etc.
Expected behavior
Cache files, file storage, databases, and per-machine configuration should all be stored in %LOCALAPPDATA%/ipfs/. Per user configuration (I'm not sure if IPFS has any of this, maybe the list of pinned files?) should be stored in %APPDATA%/ipfs/. Nothing should be stored in %USERPROFILE% (aka: %HOME%) unless the user *explicitly tells the app to do so such as via a save dialog box.
Additional context Both Linux and OSX also have environment variables that instruct applications where the appropriate place for files is. I believe it is called XDG_CONFIG though I'm not personally familiar with it.