注释软链接解析

pull/79/head^2
zhangchenhao 2025-05-12 10:54:08 +08:00
parent efa6c2c881
commit eea2bfb46c
1 changed files with 5 additions and 5 deletions

View File

@ -17,11 +17,11 @@ func init() {
os.Exit(1)
}
exePath, err = filepath.EvalSymlinks(exePath) // 解决 macOS/Linux 下软链接问题
if err != nil {
fmt.Fprintf(os.Stderr, "解析软链接失败: %v\n", err)
os.Exit(1)
}
// exePath, err = filepath.EvalSymlinks(exePath) // 解决 macOS/Linux 下软链接问题
// if err != nil {
// fmt.Fprintf(os.Stderr, "解析软链接失败: %v\n", err)
// os.Exit(1)
// }
exeDir := filepath.Dir(exePath)