fix: delete data.toml when clean

main
sudo pacman -Syu 2024-09-04 10:12:59 +07:00
parent 955f5e28ec
commit 0a28aad68f
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ func getUnusedDirs(apps map[string]App) (map[string]struct{}, error) {
unusedDirs := make(map[string]struct{})
for _, file := range files {
// Ignore config file
if file.Name() == configFileJSON {
if file.Name() == configFileJSON ||
file.Name() == configFileTOML {
continue
}