Convert: Set virtual home in cache path for external CLI commands #2262

This commit is contained in:
Michael Mayer
2022-04-18 13:55:17 +02:00
parent 2b7b43f8e5
commit 27b84365da
30 changed files with 415 additions and 353 deletions

View File

@@ -38,11 +38,6 @@ func (c *Config) ThumbFilter() thumb.ResampleFilter {
}
}
// ThumbPath returns the thumbnail storage directory.
func (c *Config) ThumbPath() string {
return c.CachePath() + "/thumbnails"
}
// ThumbColor returns the color profile name for thumbnails.
func (c *Config) ThumbColor() string {
return c.options.ThumbColor