feat(local): allow specifying the recycle bin path (close #5832)

This commit is contained in:
Andy Hsu
2024-01-09 18:51:21 +08:00
parent 434892f135
commit 34b73b94f7
2 changed files with 12 additions and 3 deletions

View File

@ -11,6 +11,7 @@ type Addition struct {
ThumbCacheFolder string `json:"thumb_cache_folder"`
ShowHidden bool `json:"show_hidden" default:"true" required:"false" help:"show hidden directories and files"`
MkdirPerm string `json:"mkdir_perm" default:"777"`
RecycleBinPath string `json:"recycle_bin_path" default:"delete permanently" help:"path to recycle bin, delete permanently if empty or keep 'delete permanently'"`
}
var config = driver.Config{