mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 19:22:57 +00:00
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…
x
Reference in New Issue
Block a user