Replies: 2 comments
-
Title: Temporary files/packages generated on the Linux platform are placed in the corresponding directory according to the XDG Base Directory specification. |
Beta Was this translation helpful? Give feedback.
0 replies
-
不考虑,如果要改,自己配置修改 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
你在什么场景下需要该功能?
XDG Base Directory Specification (archwiki)
xmake使用过程中需要远程下载并保存包,会产生一些配置文件,当前这些文件全部被放置于
$HOME/.xmake
目录下。该方案不符合XDG Base Directory规范。实施该方案可以保证项目在linux平台上的可移植性,也可以简化各平台打包所需的卸载逻辑。例如Debian/Ubuntu上的apt purge
。同时也与较新的linux项目保持一致,如neovim
,pip
等。描述可能的解决方案
按照XDG Base Directory规范要求放置xmake产生的临时文件/配置文件/程序包。
描述你认为的候选方案
No response
其他信息
No response
Beta Was this translation helpful? Give feedback.
All reactions