giget icon indicating copy to clipboard operation
giget copied to clipboard

Move cache directory on Windows to AppData

Open RihanArfan opened this issue 1 year ago • 1 comments

Describe the feature

The disk cache folder on Windows resides in C:\Users\<user>\.cache\giget, which applies Linux/macOS standards to Windows. I suggest we move it to the correct Windows folder, which would be C:\Users\<user>\AppData\Local\Temp\giget.

https://github.com/unjs/giget/blob/a2acbcc422975be9a9c338a96cc9d894a5053711/src/_utils.ts#L96-L100

Explanation of the issue: https://github.com/dotnet/templating/issues/852

Additional information

  • [X] Would you be willing to help implement this feature?

RihanArfan avatar Jul 20 '24 11:07 RihanArfan

Thanks for suggestion. PR welcome for change 👍🏼

pi0 avatar Jul 21 '24 07:07 pi0