Closed lyricnz closed 2 years ago
/tmp is used for two things:
There is already support for using some tokens in configured paths - in particular :PREFERRED_CACHE_HOME: = os.UserCacheDir() see https://pkg.go.dev/os#UserCacheDir
Moved default cache directory to system-specific one in #197
Still need to decide what to do with the log file.
That's what TempDir is for - https://pkg.go.dev/os#TempDir
(maybe a cointop subdirectory)
Yes, might make it a bit harder to tell users where to look.
See #172 for example