fix: symlink direction

This commit is contained in:
Siyuan 2025-10-10 22:58:09 +00:00
parent aa9d78998f
commit ae77887ab2
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ func ensureSymlink(dst, src string) error {
return nil
}
_ = os.Remove(dst)
return os.Symlink(src, dst)
return os.Symlink(dst, src)
}
func renameFile(f *os.File, newName string) error {