remove toml and ini config type

This commit is contained in:
2025-06-12 02:55:50 +10:00
parent 4f3c2bb280
commit a2e97aaa01
2 changed files with 11 additions and 6 deletions

View File

@ -39,7 +39,7 @@ func LoadConfig() error {
// 尝试按优先级加载不同格式的配置文件
configLoaded := false
configNames := []string{"config", "sub2clash"}
configExts := []string{"yaml", "yml", "json", "toml", "ini"}
configExts := []string{"yaml", "yml", "json"}
for _, name := range configNames {
for _, ext := range configExts {