修正配置提示中的 exe 表述

This commit is contained in:
kira1928 committed 2026-07-18 04:19:03 +09:00
1 parent dc40bf8b9b
commit bec4e23ede
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ func getConfigBesidesExecutable() (*configs.Config, error) {
// 回退:在当前 exe 旁边查找(用户直接双击运行的场景)
configPath := filepath.Join(filepath.Dir(exePath), "config.yml")
fmt.Fprintf(os.Stderr, "[Config] 使用当前 exe 目录的配置文件: %s\n", configPath)
fmt.Fprintf(os.Stderr, "[Config] 使用当前程序目录的配置文件: %s\n", configPath)
config, err := configs.NewConfigWithFile(configPath)
if err != nil {
return nil, err