Browse Source

add link for windows

pull/103/head
Lunny Xiao 11 years ago
parent
commit
9b423adb51
  1. 2
      cmd/helper_windows.go

2
cmd/helper_windows.go

@ -5,6 +5,6 @@ import (
)
func makeLink(oldPath, newPath string) error {
cmd := exec.Command("mklink", "/j", newPath, oldPath)
cmd := exec.Command("cmd", "/c", "mklink", "/j", newPath, oldPath)
return cmd.Run()
}

Loading…
Cancel
Save