mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 12:43:18 +08:00
remove toml and ini config type
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user