darwin patch
This commit is contained in:
parent
b30079509d
commit
1da6363db7
|
@ -156,6 +156,10 @@ func Install() string {
|
|||
|
||||
ftorename := bin + "/" + strings.Replace(filename, ".tar.gz", "", 1)
|
||||
|
||||
if runtime.GOOS == "darwin" {
|
||||
ftorename = bin + "/" + strings.Replace(filename, ".zip", "", 1)
|
||||
}
|
||||
|
||||
if runtime.GOOS == "windows" {
|
||||
ftorename = bin + "/" + strings.Replace(filename, ".zip", ".exe", 1)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue