윈도우에서 동작 안하는 문제 수정
This commit is contained in:
@ -68,7 +68,7 @@ func download(dir string, urlpath string, accessToken string, cb func(int64, int
|
||||
return "", fmt.Errorf("download failed : %d %s", resp.StatusCode, parsed.Path)
|
||||
}
|
||||
|
||||
out, err := os.Create(path.Join(dir, path.Base(parsed.Path)))
|
||||
out, err := os.Create(path.Join(dir, path.Base(filepath.ToSlash(parsed.Path))))
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user